Open Juergen-aus-Zuendorf opened 2 years ago
The close macro goes after the code you are trying to protect
Ok, had tried to explain the syntax as simply as possible. But that was actually not enough!
So, here is the description in a – I hope – clearer form:
===== Spielplatz =====
~~MULTI_PLUGIN_OPEN~~
some code that has to be protected (e.g., for the data plugin)
~~MULTI_PLUGIN_CLOSE~~
Liste:
- Zeile 1 \\ Folgezeile 1
- Zeile 2 \\ Folgezeile 2
Here is the result:
If I open and save the page with this syntax in CKGEditor, everything is fine. If I insert or delete some code afterward (for example add or delete line breaks) between MULTI_PLUGIN_OPEN and MULTI_PLUGIN_CLOSE, the listing code changes to this (again in native editor):
===== Spielplatz =====
~~MULTI_PLUGIN_OPEN~~
some code that has to be protected (e.g., for the data plugin)
~~MULTI_PLUGIN_CLOSE~~
Liste:
- Zeile 1
Folgezeile 1
- Zeile 2
Folgezeile 2
or as screenshot:
The lines "Folgezeile ..." are no longer indented part of the listing.
Regards Juergen
Hi,
there seems to be a problem with
MULTI_PLUGIN_CLOSE
in combination with listings.For example, I have the following wiki text (appearance in native editor):
If I open and save the page with this syntax in CKGEditor, everything is fine. If I insert some code afterwards (e.g. a line break) between MULTI_PLUGIN_OPEN and MULTI_PLUGIN_CLOSE, the listing code changes to this (again in native editor):
The lines "Folgezeile ..." are no longer part of the listing.
Regards Juergen