Skip to content

Configuration helper plugin for CKEditor ignores the value of editor.enterMode #7

@AlexanderBilichenko

Description

@AlexanderBilichenko

I think it should be something like this in 'removePlaceholder' method:

root.setHtml( editor.enterMode === CKEDITOR.ENTER_P ? '<p><br/></p>' : (editor.enterMode === CKEDITOR.ENTER_DIV ? '<div><br/></div>' : '<br/>') );

And if so, 'dataIsEmpty' should have condition for <div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions