@innovastudio/contentbuilder 1.3.61 → 1.3.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -3631,7 +3631,7 @@ button:focus-visible {
|
|
3631
3631
|
left: -40px;
|
3632
3632
|
background: #fff;
|
3633
3633
|
border: 1px solid #e8e8e8;
|
3634
|
-
border-right: none
|
3634
|
+
border-right: none;
|
3635
3635
|
line-height: 39px;
|
3636
3636
|
text-align: center;
|
3637
3637
|
box-shadow: rgba(0, 0, 0, 0.025) -4px 2px 5px 0px;
|
@@ -17166,7 +17166,7 @@ const renderQuickAdd = builder => {
|
|
17166
17166
|
elm = quickadd.querySelector('.add-button');
|
17167
17167
|
if (elm) dom.addEventListener(elm, 'click', () => {
|
17168
17168
|
const mode = quickadd.getAttribute('data-mode');
|
17169
|
-
let html = `<div
|
17169
|
+
let html = `<div>
|
17170
17170
|
<a href="#" role="button" class="transition-all inline-block cursor-pointer no-underline border-2 border-solid border-transparent ml-1 mr-1 mt-2 mb-2 hover:border-transparent rounded bg-gray-200 hover:bg-gray-300 tracking-50 uppercase py-2 size-14 px-6 font-semibold text-gray-600 leading-relaxed">Read More</a>
|
17171
17171
|
</div>`;
|
17172
17172
|
|
@@ -17179,7 +17179,7 @@ const renderQuickAdd = builder => {
|
|
17179
17179
|
elm = quickadd.querySelector('.add-twobutton');
|
17180
17180
|
if (elm) dom.addEventListener(elm, 'click', () => {
|
17181
17181
|
const mode = quickadd.getAttribute('data-mode');
|
17182
|
-
let html = `<div
|
17182
|
+
let html = `<div>
|
17183
17183
|
<a href="#" role="button" class="transition-all inline-block cursor-pointer no-underline border-2 border-solid border-transparent ml-1 mr-1 mt-2 mb-2 hover:border-transparent rounded bg-gray-200 hover:bg-gray-300 tracking-50 uppercase py-2 size-14 px-6 font-semibold text-gray-600 leading-relaxed">Read More</a>
|
17184
17184
|
<a href="#" role="button" class="transition-all inline-block cursor-pointer no-underline border-2 border-solid ml-1 mr-1 mt-2 mb-2 rounded tracking-50 uppercase py-2 size-14 px-6 border-current hover:border-transparent hover:text-white font-semibold text-indigo-500 hover:bg-indigo-500 leading-relaxed">Get Started</a>
|
17185
17185
|
</div>`;
|
@@ -77111,11 +77111,10 @@ class ContentBuilder {
|
|
77111
77111
|
this.dom.addClass(row, 'row-outline');
|
77112
77112
|
} //this.getState();
|
77113
77113
|
// Call onContentClick to indicate click on editable content (eg. for plugin usage)
|
77114
|
+
// if (!col.hasAttribute('data-html')) {
|
77114
77115
|
|
77115
77116
|
|
77116
|
-
if (
|
77117
|
-
if (this.opts.onContentClick) this.opts.onContentClick(e);
|
77118
|
-
}
|
77117
|
+
if (this.opts.onContentClick) this.opts.onContentClick(e); // }
|
77119
77118
|
|
77120
77119
|
this.element.click(col, e);
|
77121
77120
|
this.colTool.click(col);
|