TinyMCE Editor Help Summary

format dropdown
  • Normal - Normal text style
  • Heading 1-6 - Headings; 1 is largest
  • On save, content in this HTML editor is automatically converted to Foswiki TML (Topic Markup Language). The following styles let you apply special Foswiki tags that control that conversion, and how the resulting text is displayed.
    • VERBATIM - Text is shown in monospace with line breaks. Wraps Foswiki <verbatim> tags around the selected text. No macros are interpreted inside verbatim tags.
    • LITERAL - Styled content is saved exactly as it appears in the editor. Saves the selected content as raw HTML and wraps it in foswiki <literal> tags.
    • Protect on save - Use this to protect newly-created advanced macros, where you want to prevent conversion of HTML in the macro to TML. When the topic is re-edited, well-formed macros are automatically re-protected.
    • Protect forever - Wrap the selection in Foswiki <sticky> tags. Use this to protect content so it always appears exactly as shown in the editor.
Copy & paste table rows
  • Right-click table row
  • Select 'Row'
  • Select 'Copy table row'
  • Right-click destination
  • Select 'Row'
  • Select 'Paste' (before/after)
right-click table rows to copy & paste

Setting a chili syntax highlighting class on a verbatim block
  • Right-click the verbatim block
  • Select 'jQuery chili'
  • Choose syntax
chili syntax on VERBATIM
indent outdent If the cursor is in a list item, changes the indent.
link unlink Links can either point to a URL or to the name of a Foswiki topic. For example https://foswiki.org, TopicNames, Webname.TopicNames, or Webname.Subweb.WebName.
anchor An anchor is a hidden mark you can use to link to a certain part of a topic, for example a heading or a paragraph. An anchor must be a WikiWord.
clear formatting Clear styles from selected text, such as: colours, size, underline decoration, etc. This feature is useful when you need to clean up content copied from rich text sources such as web pages or word documents.
fullscreen Toggle fullscreen mode.
autosave Restore autosave draft. The editor content is saved to your web browser's local storage every 180s (default). The draft should survive across browser restarts. This feature is useful to recover unsaved work, for example when your browser crashes for some reason, or your network connection fails during save.

Using a Macro
  • Just type it in. When the topic is saved, what you type will be saved just as you wrote it.
  • If any part of your macro parameters is sensitive to spacing or contains HTML, then select the entire macro and assign the Protect on save style to it before you save.

More on macros

Editing the raw text instead of Wysiwyg
  • Select Wiki text, or use the Raw Edit link in the bottom action bar.

Defining Preference Settings/Macros
  • Create a list item using the toolbar button
  • In the list item, type Set NAME = value
  • Select the value, and assign the Protect on save style to it (only required if the value contains any Foswiki Topic Markup Language or if you style it e.g. to add bold, or if it's sensitive to the number of spaces)
Topic revision: r1 - 25 May 2020, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding OGC Public Wiki? Send feedback