SID-00559: CODE - ENDCODE with WysiwygPlugin
| Status: |
Unanswered |
TWiki version: |
4.2.4 |
Perl version: |
5.8.8 |
| Category: |
CategoryEditing |
Server OS: |
Mac OSX 10.5, Darwin 9.6.0 |
Last update: |
16 years ago |
Problem: How to use
%CODE{mylang}% code
%ENDCODE% with the Wysiwyg editing?
When editing using the wysiwyg editor the section between CODE and ENDCODE gets altered, especially adjacent lines of code get connected into a single line. I'm using
BeautifierPlugin but I assume it also happens with
SyntaxHighlightingPlugin,
SourceHighlightPlugin and
DpSyntaxHighlighterPlugin.
Dirty Workaround: Surround the
CODE - ENDCODE section with
<sticky> tags. This solves the problem of connecting lines but you still can not edit the code (ex: Add new lines and you get new
<sticky> tags) in the wysiwyg editor.
Question: Any better ideas how to fix this?
Thx
PS: I'm now using TWiki 4.2.4 but had the same problem with 4.2.1.
--
MarcBerthoud - 2009-10-08
Discussion and Answer
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-11-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.