@haxtheweb/rich-text-editor
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -55,3 +55,3 @@ /** | ||
setTimeout(async () => { | ||
this.__textarea.value = await navigator.clipboard.readText(); | ||
this.__textarea.value = await globalThis.navigator.clipboard.readText(); | ||
this.__textarea.focus(); | ||
@@ -58,0 +58,0 @@ this.__textarea.select(); |
@@ -12,3 +12,2 @@ { | ||
"css": "src/rich-text-editor.css", | ||
"scss": "src/rich-text-editor.scss", | ||
"html": "src/rich-text-editor.html", | ||
@@ -23,3 +22,3 @@ "js": "src/rich-text-editor.js", | ||
}, | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"description": "a standalone rich text editor", | ||
@@ -49,13 +48,12 @@ "repository": { | ||
"dependencies": { | ||
"@haxtheweb/absolute-position-behavior": "^9.0.1", | ||
"@haxtheweb/code-editor": "^9.0.1", | ||
"@haxtheweb/absolute-position-behavior": "^9.0.2", | ||
"@haxtheweb/code-editor": "^9.0.2", | ||
"@haxtheweb/md-extra-icons": "^9.0.1", | ||
"@haxtheweb/simple-fields": "^9.0.1", | ||
"@haxtheweb/simple-icon": "^9.0.1", | ||
"@haxtheweb/simple-icon-picker": "^9.0.1", | ||
"@haxtheweb/simple-picker": "^9.0.1", | ||
"@haxtheweb/simple-popover": "^9.0.1", | ||
"@haxtheweb/simple-toolbar": "^9.0.1", | ||
"@haxtheweb/utils": "^9.0.1", | ||
"@polymer/iron-icons": "^3.0.1", | ||
"@haxtheweb/simple-fields": "^9.0.2", | ||
"@haxtheweb/simple-icon": "^9.0.2", | ||
"@haxtheweb/simple-icon-picker": "^9.0.2", | ||
"@haxtheweb/simple-picker": "^9.0.2", | ||
"@haxtheweb/simple-popover": "^9.0.2", | ||
"@haxtheweb/simple-toolbar": "^9.0.2", | ||
"@haxtheweb/utils": "^9.0.2", | ||
"lit": "^3.1.4", | ||
@@ -65,4 +63,4 @@ "shadow-selection-polyfill": "^1.1.0" | ||
"devDependencies": { | ||
"@haxtheweb/deduping-fix": "^9.0.1", | ||
"@haxtheweb/storybook-utilities": "^9.0.1", | ||
"@haxtheweb/deduping-fix": "^9.0.2", | ||
"@haxtheweb/storybook-utilities": "^9.0.2", | ||
"@open-wc/testing": "4.0.0", | ||
@@ -84,3 +82,3 @@ "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
], | ||
"gitHead": "7f62cde6a6242afcb57715e1e2067ea767c777fd" | ||
"gitHead": "f528e4aac8aeadf5350d9262fb515d14d208e376" | ||
} |
@@ -371,3 +371,3 @@ /** | ||
? [] | ||
: (window.RichTextEditorToolbars || []).filter( | ||
: (globalThis.RichTextEditorToolbars || []).filter( | ||
(toolbar) => toolbar.id === this.toolbarId, | ||
@@ -379,3 +379,3 @@ ); | ||
? [] | ||
: (window.RichTextEditorToolbars || []).filter( | ||
: (globalThis.RichTextEditorToolbars || []).filter( | ||
(toolbar) => toolbar.type === this.type, | ||
@@ -385,3 +385,3 @@ ); | ||
//get any toolbar | ||
if (filter.length === 0) filter = window.RichTextEditorToolbars; | ||
if (filter.length === 0) filter = globalThis.RichTextEditorToolbars; | ||
if (filter[0]) { | ||
@@ -391,3 +391,3 @@ toolbar = filter[0]; | ||
//make toolbar | ||
toolbar = document.createElement( | ||
toolbar = globalThis.document.createElement( | ||
this.type || "rich-text-editor-toolbar", | ||
@@ -394,0 +394,0 @@ ); |
@@ -371,3 +371,3 @@ /** | ||
? [] | ||
: (window.RichTextEditorToolbars || []).filter( | ||
: (globalThis.RichTextEditorToolbars || []).filter( | ||
(toolbar) => toolbar.id === this.toolbarId, | ||
@@ -379,3 +379,3 @@ ); | ||
? [] | ||
: (window.RichTextEditorToolbars || []).filter( | ||
: (globalThis.RichTextEditorToolbars || []).filter( | ||
(toolbar) => toolbar.type === this.type, | ||
@@ -385,3 +385,3 @@ ); | ||
//get any toolbar | ||
if (filter.length === 0) filter = window.RichTextEditorToolbars; | ||
if (filter.length === 0) filter = globalThis.RichTextEditorToolbars; | ||
if (filter[0]) { | ||
@@ -391,3 +391,3 @@ toolbar = filter[0]; | ||
//make toolbar | ||
toolbar = document.createElement( | ||
toolbar = globalThis.document.createElement( | ||
this.type || "rich-text-editor-toolbar", | ||
@@ -394,0 +394,0 @@ ); |
Sorry, the diff of this file is not supported yet
574477
12
3
46
13796
- Removed@polymer/iron-icons@^3.0.1
- Removed@polymer/iron-icons@3.0.1(transitive)
Updated@haxtheweb/utils@^9.0.2