Class WysiwygSettings

    • Constructor Detail

      • WysiwygSettings

        public WysiwygSettings()
    • Method Detail

      • getThis

        protected WysiwygSettings getThis()
        Description copied from class: BasicSettings
        Returns the exact type of the this reference.
        It's a way to recover the type of the this object in a class hierarchy (cf. getThis "trick").
        Specified by:
        getThis in class BasicSettings<WysiwygSettings>
        Returns:
        The exact type of the this reference
      • configurationId

        public WysiwygSettings configurationId​(java.lang.String configId)
        Specify the ID of WYSIWYG configuration to use on the current control.
        Parameters:
        configId - WYSIWYG Configuration ID
        Returns:
        a reference to this object - used to chain calls
      • popupEdition

        public WysiwygSettings popupEdition()
        Specify whether the WYSIWYG is displayed in popup edition mode.
        Returns:
        a reference to this object - used to chain calls
      • workspace

        public WysiwygSettings workspace​(java.lang.String workspaceId)
        Specify the Workspace to use in the editor.
        Parameters:
        workspaceId - Workspace ID
        Returns:
        a reference to this object - used to chain calls
      • workspace

        public WysiwygSettings workspace​(Workspace workspace)
        Specify the Workspace to use in the editor.
        Parameters:
        workspace - Workspace
        Returns:
        a reference to this object - used to chain calls
      • setGlobalOptions

        public static void setGlobalOptions​(java.util.Map<java.lang.String,​java.lang.Object> globalOptions)
        Set the options that are common to all WYSIWYG editors.
        Parameters:
        globalOptions - Map of WYSIWYG options
      • getGlobalOptions

        public static java.util.Map<java.lang.String,​java.lang.Object> getGlobalOptions()
        Return the map of the options that are common to all WYSIWYG editors.
        Returns:
        Map of global WYSIWYG options
      • resetGlobalOptions

        public static void resetGlobalOptions()
        Remove all global WYSIWYG options.
      • inline

        public WysiwygSettings inline()
        Request the wysiwyg editor to be in TinyMCE inline mode.
        Returns:
        a reference to this object - used to chain calls
        Since:
        jcms-10.0.5 / JCMS-8615
      • addFrontEndDependencies

        public static void addFrontEndDependencies​(JcmsJspContext jcmsContext,
                                                   java.lang.String configId)