fixed #9130: fixed: Rich editor creates root <p> tag even when set to use <br />
This commit is contained in:
parent
48d7ff6e34
commit
072ccd2cc6
2 changed files with 2 additions and 0 deletions
|
|
@ -481,6 +481,7 @@ sub getRichEditor {
|
|||
preformatted => $self->getValue("preformatted") ? JSON::true() : JSON::false(),
|
||||
force_br_newlines => $self->getValue("useBr") ? JSON::true() : JSON::false(),
|
||||
force_p_newlines => $self->getValue("useBr") ? JSON::false() : JSON::true(),
|
||||
$self->getValue("useBr") ? ( forced_root_block => JSON::false() ) : (),
|
||||
remove_linebreaks => $self->getValue("removeLineBreaks") ? JSON::true() : JSON::false(),
|
||||
nowrap => $self->getValue("nowrap") ? JSON::true() : JSON::false(),
|
||||
directionality => $self->getValue("directionality"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue