LP: Create documents with full html structure

pull/5707/head
Angel Fernando Quiroz Campos 1 year ago
parent 44ae994937
commit 0308ffba9c
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 2
      public/main/lp/LearnPathItemForm.php

@ -128,7 +128,7 @@ class LearnPathItemForm
$renderer = $form->defaultRenderer();
$renderer->setElementTemplate(' {label}{element}', 'content_lp');
$form->addHtml('<div class="editor-lp">');
$form->addHtmlEditor('content_lp', null, null, false, $editorConfig);
$form->addHtmlEditor('content_lp', null, null, true, $editorConfig);
$form->addHtml('</div>');
if ($document) {
$form->addHidden('document_id', $document->getIid());

Loading…
Cancel
Save