For the complete documentation index, see llms.txt. This page is also available as Markdown.

TinyMCE6

The TinyMCE6 extension uses (Tiny Moxiecode Content Editor) is a platform-independent, browser-based WYSIWYG editor control, written in JavaScript and released as open-source software under the LGPL by Ephox. It is nearly identical to the TinyMCE extension- it just uses TinyMCE 6.x instead of TinyMCE 4.x.

When coding with the TinyMCE6 vs the TinyMCE extension, the main difference is the settings in Options. For example, here's how to create a TinyMCE6 editor:

TinyMCE editor = new TinyMCE()
{
    Dock = DockStyle.Fill,
    Text = "<p>Hello <strong>world</strong></p>",

    ShowMenuBar = false,
    ShowToolbar = true,
    ShowFooter = true,

    Options = new
    {
        plugins = "link image code lists",
        toolbar = "undo redo | bold italic | bullist numlist | link | code"
    }
};

this.Controls.Add(editor);

This code would look very similar in TinyMCE, except it would have: plugins = "link image code lists paste hr" Note the addition of the paste and hr plugins. These plugins were necessary in TinyMCE, but were absorbed into Core for TinyMCE6- so they no longer need to be explicitly added in TinyMCE6.

For a full explanation of the differences between TinyMCE and Tiny MCE6, and the specific plugins that have changed see the documentation here.

How To Use

The TinyMCE6 extension can be added to a Wisej.NET project using NuGet Package Manager.

Last updated

Was this helpful?