This question about Topic Markup Language and applications: Answered

Edit topic that contains div tag

Edit topic that contains div tag

I would like to modify some of the topics under System Web. I found a lot of them contain <div> tag such as the following found in System.WebHome
<div style="float:right;width:255px;padding:1em;">
  %INCLUDE{ "TipsOfTheDayInclude" warn="off" }%
</div>

When the page is saved after modification, the WYSIWYG editor seems remove all <div> tags. I can only edit the System.WebHome.txt directly through vi. Is there a better way?

-- HackatonWong - 16 Jul 2009

The concept of a div does not exist in TML. The wysiwyg editor removes all those tags. You can either put some <sticky> tags around what you like to be preserved or disable the tinymce editor for those topics. Set the TINYMCEPLUGIN_DISABLE variable to "1" in these contextes.

-- OliverKrueger - 16 Jul 2009

QuestionForm edit

Subject Topic Markup Language and applications
Extension WysiwygPlugin
Version Foswiki 1.0.6
Status Answered
Topic revision: r2 - 16 Jul 2009, OliverKrueger
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy