Tags:
create new tag
view all tags

SID-00559: CODE - ENDCODE with WysiwygPlugin

Status: Unanswered 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

      Change status to:
ALERT! 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.
SupportForm
Status Unanswered
Title CODE - ENDCODE with WysiwygPlugin
SupportCategory CategoryEditing
TWiki version 4.2.4
Server OS Mac OSX 10.5, Darwin 9.6.0
Web server Apache
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-11-23 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.