Daya Bay Reactor Neutrino Experiment TWiki > TinyMCEPlugin > TinyMCEQuickHelp Daya Bay webs:
Public | 中文 | Internal | Help

Log In or Register

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 TML (TWiki Markup Language). The following styles let you apply special TWiki tags that control that conversion, and how the resulting text is displayed.
    • VERBATIM - Text is shown in monospace with line breaks. Wraps TWiki <verbatim> tags around the selected text. No variables 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 twiki <literal> tags.
    • Protect on save - Use this to protect newly-created advanced variables, where you want to prevent conversion of HTML in the variable to TML. When the topic is re-edited, well-formed variables are automatically re-protected.
    • Protect forever - Wrap the selection in TWiki <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 TWiki topic. For example http://twiki.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 TWiki Variable

  • 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 variable parameters is sensitive to spacing or contains HTML, then select the entire variable and assign the Protect on save style to it before you save.

More on TWiki Variables

Editing the raw text instead of Wysiwyg

  • Select Wiki text, or use the Raw Edit link in the bottom action bar.

Defining Preference Settings/Variables

  • 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 TWiki Markup Language or if you style it e.g. to add bold, or if it's sensitive to the number of spaces)

Related Topics: TinyMCEPlugin, TinyMCEFrequentlyAskedQuestions, WysiwygPlugin



Revision: r4 - 2013-09-13 - 14:54:46 - TWikiContributor
Parents: TinyMCEPlugin

Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TinyMCEQuickHelp.