org.xwiki.gwt.wysiwyg.client
Class WysiwygEditorFactory
java.lang.Object
org.xwiki.gwt.wysiwyg.client.WysiwygEditorFactory
public final class WysiwygEditorFactory
- extends Object
Factory for WysiwygEditor. Holds the responsibility of injecting the PluginFactoryManager and
SyntaxValidatorManager in each editor created.
- Version:
- $Id: 9f5028bcfb2bcd99da73cf1f25c5126f4f7735c6 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static WysiwygEditorFactory getInstance()
- Returns:
- the singleton factory instance.
newEditor
public WysiwygEditor newEditor(Config config)
- Creates a new editor for the given configuration in the specified context.
- Parameters:
config - the configuration object
- Returns:
- the newly created WYSIWYG editor
Copyright © 2004–2015 XWiki. All rights reserved.