Re^2: Good Intentions: Wikisyntax for the Monastery (ToDo)
by GotToBTru (Prior) on Jan 28, 2016 at 15:21 UTC
|
*The* first word in the post can't have the bold/italic/underline formatting. Unless there's a space or empty line before it. If it's an empty line, that line disappears after previewing, and then the formatting stops working. A single space will remain.
I don't mean to whine; I like this immensely.
But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)
| [reply] [Watch: Dir/Any] |
|
Yeah I know I got used to adding a space before the first line and after the last.
I already mentioned that problem, but ...
... I did'nt want to expand the regexes to other whitespaces for that ATM because that's a PITA to test in different browsers.
It might become configurable in the future, but without guaranty whatsoever.
Anyway the "bold/italic/underline formatting" isn't that important for me, being able to avoid <p> while typing in my mobile is already worth it. ;-)
Naming this PM extension a "wiki" might be a misnomer/marketing error though... ;-)
| [reply] [Watch: Dir/Any] [d/l] |
|
> If it's an empty line, that line disappears after previewing,
this certainly looks like a bug, THANK YOU! :)
UPDATE
So it's not my wiki code causing it.
I tested as anomonk and the content of the textarea is trimmed from surrounding newlines.
maybe it's the monasteries codebase ... maybe a firefox thing.
for the time being, please use an extra whitespace.
| [reply] [Watch: Dir/Any] |
|
First word works now, also does the last
| [reply] [Watch: Dir/Any] |
Re^2: Good Intentions: Wikisyntax for the Monastery (ToDo)
by moritz (Cardinal) on Jan 29, 2016 at 08:40 UTC
|
create Perl version which is auto-translated to JS-version
Or create a Perl-based web service and use it via ajax. If you set the CORS headers correctly, the browser allows that.
| [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] [d/l] |
Re^2: Good Intentions: Wikisyntax for the Monastery (ToDo)
by GotToBTru (Prior) on Feb 24, 2016 at 19:11 UTC
|
What is the intended use of the wiki checkbox in CB?
But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)
| [reply] [Watch: Dir/Any] |
|
To be able to switch the wiki transformation manually on or off.
It could be better placed below the textarea, but this was already mentioned in the todo list.
NB : it's not in the CB but in the Free Nodelet.
| [reply] [Watch: Dir/Any] |