Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <hr> <p><strong>Note:</strong> The instructions below are valid for TinyMCE 3.x. TinyMCE 4.x is available now and you should probably use it instead. See <a href="http://www.tinymce.com/wiki.php/Configuration" rel="nofollow noreferrer">http://www.tinymce.com/wiki.php/Configuration</a> for more information.</p> <hr> <p>The toolbar can only be moved to top when using <code>theme : advanced</code> in TinyMCE. There is no <code>theme_simple_toolbar_location</code> but a <code>theme_advanced_toolbar_location</code>. See documentation here <a href="http://www.tinymce.com/wiki.php/Configuration3x:theme_advanced_toolbar_location" rel="nofollow noreferrer">http://www.tinymce.com/wiki.php/Configuration3x:theme_advanced_toolbar_location</a>. </p> <p>What you can do is to serve the editor as <code>theme : advanced</code> and then customize the buttons by using the <code>theme_advanced_buttons_1_n</code> property. It's documented here <a href="http://www.tinymce.com/wiki.php/Configuration3x:theme_advanced_buttons_1_n" rel="nofollow noreferrer">http://www.tinymce.com/wiki.php/Configuration3x:theme_advanced_buttons_1_n</a>.</p> <h3>Example:</h3> <p>The code in the example is not tested, but it should work. It will show an editor with the buttons for Bold, Italic and Underline at the top.</p> <pre><code>tinyMCE.init({ mode : "textareas", theme : "advanced", theme_advanced_toolbar_location : "top", theme_advanced_buttons1 : "bold,italic,underline", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "" }); </code></pre> <p>So the answer would be: one cannot move the buttons when using <code>theme : simple</code>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload