EditorInterface
interface EditorInterface (View source)
Interface that all rich-text editors must implement.
Methods
Generate the HTML to be placed in a page to display the inline editor.
Generate the HTML to be placed in a page to display the editor in composer views.
Generate the HTML to be placed in a page to display the editor when the page is in edito mode.
Generate the HTML to be placed in a page to display the editor.
Set if the editor can offer the "browse sitemap" feature.
Set if the editor can offer the "browse files" feature.
Get the plugin manager instance.
Build the list of required assets.
Details
        
                            string
    outputPageInlineEditor(string $key, string|null $content = null)
        
    
    Generate the HTML to be placed in a page to display the inline editor.
        
                            string
    outputPageComposerEditor(string $key, string $content)
        
    
    Generate the HTML to be placed in a page to display the editor in composer views.
        
                            string
    outputBlockEditModeEditor(string $key, string $content)
        
    
    Generate the HTML to be placed in a page to display the editor when the page is in edito mode.
        
                            string
    outputStandardEditor(string $key, string|null $content = null)
        
    
    Generate the HTML to be placed in a page to display the editor.
        
                            
    setAllowSitemap(bool $allow)
        
    
    Set if the editor can offer the "browse sitemap" feature.
        
                            
    setAllowFileManager(bool $allow)
        
    
    Set if the editor can offer the "browse files" feature.
        
                            PluginManager
    getPluginManager()
        
    
    Get the plugin manager instance.
        
                            
    saveOptionsForm(Request $request)
        
    
    Save the plugin options.
        
                            
    requireEditorAssets()
        
    
    Build the list of required assets.