Class humhub\modules\content\widgets\richtext\ProsemirrorRichTextProcessor

Inheritancehumhub\modules\content\widgets\richtext\ProsemirrorRichTextProcessor » humhub\modules\content\widgets\richtext\AbstractRichTextProcessor » yii\base\BaseObject
Available since version1.3

Class ProsemirrorRichTextProcessor provides pre-processor logic for oembed and mentionings for the ProsemirrorRichText.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
parseFiles() humhub\modules\content\widgets\richtext\ProsemirrorRichTextProcessor
parseMentioning() Parses mention link extensions in the form of and creates mentionings records. humhub\modules\content\widgets\richtext\ProsemirrorRichTextProcessor
parseOembed() Parses oembed link extensions in the form of and preloads the given oembed dom. humhub\modules\content\widgets\richtext\ProsemirrorRichTextProcessor
process() Executes post process logic humhub\modules\content\widgets\richtext\AbstractRichTextProcessor

Method Details

parseFiles() public method

public void parseFiles ( )
parseMentioning() public method

Parses mention link extensions in the form of and creates mentionings records.

public void parseMentioning ( )
parseOembed() public method

Parses oembed link extensions in the form of and preloads the given oembed dom.

public void parseOembed ( )