@innovastudio/contentbuilder 1.3.53 → 1.3.54

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.3.53",
4
+ "version": "1.3.54",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -4165,10 +4165,8 @@ class Util {
4165
4165
  dom.addClass(pop, 'active');
4166
4166
 
4167
4167
  const handleClickOut = e => {
4168
- if (!pop.contains(e.target) && !btn.contains(e.target)) {
4168
+ if (!pop.contains(e.target) && !btn.contains(e.target) && !e.target.closest('.pickcolormore')) {
4169
4169
  // click outside
4170
- const pickcolormore = document.querySelector('.pickcolormore.active');
4171
- if (pickcolormore) if (pickcolormore.contains(e.target)) return;
4172
4170
  this.hideRtePop(pop); // hide
4173
4171
 
4174
4172
  pop.removeEventListener('keydown', handleKeyDown);