From 9cb4a5dbf0ad248a84e0d8a1e36fddc8f38ac120 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 15 Feb 2024 10:38:18 +0800 Subject: [PATCH] add 100% width to img tag in figures --- docs/src/Roo_deprecated.js.html | 2 -- docs/src/Roo_htmleditor_BlockFigure.js.html | 7 +++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/src/Roo_deprecated.js.html b/docs/src/Roo_deprecated.js.html index dad5ece49b..522b8e7b0c 100644 --- a/docs/src/Roo_deprecated.js.html +++ b/docs/src/Roo_deprecated.js.html @@ -7,8 +7,6 @@ Roo.TabPanelItem = Roo.panel.TabItem; Roo.TreePanel = Roo.panel.Tree; -Roo.dialog = Roo.dialog || {}; -Roo.dialog.UploadCropbox = Roo.panel.Cropbox; // phase 2 update Roo.ScrollPanel = Roo.panel.Scroll; diff --git a/docs/src/Roo_htmleditor_BlockFigure.js.html b/docs/src/Roo_htmleditor_BlockFigure.js.html index 734363c824..0df52520c1 100644 --- a/docs/src/Roo_htmleditor_BlockFigure.js.html +++ b/docs/src/Roo_htmleditor_BlockFigure.js.html @@ -279,8 +279,11 @@ maxWidth : iw + ' !important', // this is not getting rendered? margin : m - } - }; + }, + width: this.align == 'center' ? this.width : '100%' + + }; + /* '<div class="{0}" width="420" height="315" src="{1}" frameborder="0" allowfullscreen>' + '<a href="{2}">' + -- 2.39.2