Skip to content

Commit

Permalink
Ticket #4641 - Use HTMX to load page content without genaral page str…
Browse files Browse the repository at this point in the history
…ucture.
  • Loading branch information
AntonLV committed Jul 10, 2024
1 parent 9e5f45c commit bd59269
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion template/scripts/BxBaseEditorQuill.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,13 @@ public function attachEditor ($sSelector, $iViewMode = BX_EDITOR_STANDARD, $bDyn
'bx_var_skin' => bx_js_string($this->_aObject['skin'], BX_ESCAPE_STR_APOS),
'bx_url_root' => bx_js_string(BX_DOL_URL_ROOT, BX_ESCAPE_STR_APOS)
));
$sInitEditor = "
if(!Quill.imports['modules/imageUploader'])
Quill.register('modules/imageUploader', ImageUploader);
" . $sInitEditor;

$sInitCallBack = "
bQuillEditorInited = true;
Quill.register('modules/imageUploader', ImageUploader);
" . $sInitEditor;

if ($bDynamicMode) {
Expand Down

0 comments on commit bd59269

Please sign in to comment.