Example usage for com.liferay.portal.kernel.util PropsKeys EDITOR_WYSIWYG_DEFAULT

List of usage examples for com.liferay.portal.kernel.util PropsKeys EDITOR_WYSIWYG_DEFAULT

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util PropsKeys EDITOR_WYSIWYG_DEFAULT.

Prototype

String EDITOR_WYSIWYG_DEFAULT

To view the source code for com.liferay.portal.kernel.util PropsKeys EDITOR_WYSIWYG_DEFAULT.

Click Source Link

Usage

From source file:com.liferay.faces.portal.component.inputrichtext.internal.InputRichTextRenderer.java

License:Open Source License

protected String getEditorType(InputRichText inputRichText) {

    String editorType = PropsUtil.get(PropsKeys.EDITOR_WYSIWYG_DEFAULT);
    String editorKey = inputRichText.getEditorKey();

    if (editorKey != null) {
        editorType = PropsUtil.get(editorKey);
    }//from ww w .  j a  v  a 2 s. co m

    return editorType;
}