Package wicket.contrib.tinymce.settings

Examples of wicket.contrib.tinymce.settings.ContextMenuPlugin


public class WordTinyMCEPage extends TinyMCEBasePage {

    public WordTinyMCEPage() {
        TinyMCESettings settings = new TinyMCESettings(TinyMCESettings.Theme.advanced);

        ContextMenuPlugin contextMenuPlugin = new ContextMenuPlugin();
        settings.register(contextMenuPlugin);

        // first toolbar
        settings.add(Button.newdocument, TinyMCESettings.Toolbar.first, TinyMCESettings.Position.before);
        settings.add(Button.separator, TinyMCESettings.Toolbar.first, TinyMCESettings.Position.before);
View Full Code Here


public class FullFeaturedTinyMCEPage extends TinyMCEBasePage {

    public FullFeaturedTinyMCEPage() {
        TinyMCESettings settings = new TinyMCESettings(TinyMCESettings.Theme.advanced);

        ContextMenuPlugin contextMenuPlugin = new ContextMenuPlugin();
        settings.register(contextMenuPlugin);

        // first toolbar
        SavePlugin savePlugin = new SavePlugin();
        settings.add(savePlugin.getSaveButton(), TinyMCESettings.Toolbar.first, TinyMCESettings.Position.before);
View Full Code Here

  public WordTinyMCEPage()
  {
    TinyMCESettings settings = new TinyMCESettings(TinyMCESettings.Theme.advanced);

    settings.register(new ContextMenuPlugin());
                settings.register(new WordcountPlugin());
                settings.register(new AdvListPlugin());

    // first toolbar
    settings.add(Button.newdocument, TinyMCESettings.Toolbar.first,
View Full Code Here

  public FullFeaturedTinyMCEPage()
  {
    TinyMCESettings settings = new TinyMCESettings(TinyMCESettings.Theme.advanced);

                // Register non-buttuon plugins
    settings.register(new ContextMenuPlugin());
                settings.register(new AutoSavePlugin());
                settings.register(new WordcountPlugin());
                settings.register(new AdvListPlugin());

    // first toolbar
View Full Code Here

TOP

Related Classes of wicket.contrib.tinymce.settings.ContextMenuPlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.