Commit 8d5c940c authored by Carsten  Rose's avatar Carsten Rose
Browse files

Disable the unwrap('p-tag') for TinyMCE - currently, this breaks regular consecutive <p> tags

parent a11de74e
Pipeline #5170 passed with stages
in 4 minutes and 10 seconds
......@@ -354,7 +354,8 @@ class FillStoreForm {
if ($formElement[FE_TYPE] == FE_TYPE_EDITOR) {
// Tiny MCE always wrap a '<p>' around the content. Remove it before saving.
$value = Support::unWrapTag('<p>', $value);
//This is probably not needed anymore
// $value = Support::unWrapTag('<p>', $value);
// Check only if there is something.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment