Backend\VueComponents\RichEditor

Overview

RichEditor Vue component.

Manages an instance of Froala Editor.

Extends

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

Show inherited public methods

Inherited Public Methods

Protected Methods

protected getGlobalButtons()

protected getGlobalButtons(): void

protected getValidEditorLang()

protected getValidEditorLang(): string|null 

getValidEditorLang returns a proposed language code for Froala.

protected loadAssets()

protected loadAssets(): void 

Adds component specific asset files. Use $this->addJs() and $this->addCss() to register new assets to include on the page. The default component script and CSS file are loaded automatically.

protected prepareVars()

protected prepareVars(): void

Prepares variables required by the component's partials

Show inherited protected methods

Inherited Protected Methods