From 85b14052ea015d2b4432483e375f2ccd8bce73fa Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 6 Jan 2021 14:06:21 +0100 Subject: [PATCH] Make blockquotes breakable in html editor --- api/js/etemplate/et2_widget_htmlarea.js | 1 + api/js/etemplate/et2_widget_htmlarea.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index f7d867e159..7b271e5b66 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -93,6 +93,7 @@ var et2_htmlarea = /** @class */ (function (_super) { resize: false, height: this.options.height, width: this.options.width, + end_container_on_empty_block: true, mobile: { theme: 'silver' }, diff --git a/api/js/etemplate/et2_widget_htmlarea.ts b/api/js/etemplate/et2_widget_htmlarea.ts index 77a466ef6b..ccede69fa1 100644 --- a/api/js/etemplate/et2_widget_htmlarea.ts +++ b/api/js/etemplate/et2_widget_htmlarea.ts @@ -224,6 +224,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable resize: false, height: this.options.height, width: this.options.width, + end_container_on_empty_block: true, mobile: { theme: 'silver' },