goodteditor-ui 1.0.46 → 1.0.48

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,6 +1,6 @@
1
1
  {
2
2
  "name": "goodteditor-ui",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "main": "index.js",
5
5
  "homepage": "https://goodt-ui.netlify.app/",
6
6
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <grid class="editor" v-bind="$options.static.GridProps">
3
3
  <template #editor-toolbar="{ style }">
4
- <div :style="style" ref="menu" :class="{ 'bubble': bubbleMenu }" class="editor-toolbar">
4
+ <div :style="style" ref="menu" :class="{ 'bubble': bubbleMenu.isEnabled }" class="editor-toolbar">
5
5
  <!--
6
6
  @slot Toolbar slot
7
7
  @binding {title: string, group: Tool[]} toolGroups array of using tools
@@ -65,7 +65,6 @@ import Grid from './Grid.vue';
65
65
  import { resolveExtensions } from './WysiwygEditor/extensions';
66
66
  import { buildToolGroups, bindContext } from './WysiwygEditor/utils';
67
67
  import { DefaultTools } from './WysiwygEditor/constants';
68
- import Popup from './Popup.vue';
69
68
 
70
69
  export { ToolType } from './WysiwygEditor/constants';
71
70
 
@@ -78,7 +77,6 @@ export { ToolType } from './WysiwygEditor/constants';
78
77
 
79
78
  export default {
80
79
  components: {
81
- Popup,
82
80
  Grid,
83
81
  EditorContent
84
82
  },
@@ -198,6 +196,8 @@ export default {
198
196
  },
199
197
  onUpdate: () => {
200
198
  this.onInput();
199
+ },
200
+ onBlur: () => {
201
201
  this.onChange();
202
202
  },
203
203
  onSelectionUpdate: this.onSelectionUpdateDebounced