@dile/editor 2.5.16 → 2.5.18
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 +3 -3
- package/src/dile-editor-toolbar.js +1 -1
- package/src/i18n/es.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/editor",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.18",
|
|
4
4
|
"description": "Flexible Web Component for rich text editing with WYSIWYG and Markdown support. Easy to integrate, customizable UI, powered by ProseMirror.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@dile/icons": "^2.4.2",
|
|
34
|
-
"@dile/ui": "^2.10.
|
|
34
|
+
"@dile/ui": "^2.10.5",
|
|
35
35
|
"lit": "^2.7.0 || ^3.0.0",
|
|
36
36
|
"prosemirror-commands": "^1.6.2",
|
|
37
37
|
"prosemirror-example-setup": "^1.2.3",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"prosemirror-state": "^1.4.3",
|
|
43
43
|
"prosemirror-view": "^1.37.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ec00c938b7a5dc9f58f49e53f44a9ca3758d6d1e"
|
|
46
46
|
}
|
|
@@ -67,6 +67,7 @@ export class DileEditorToolbar extends DileI18nMixin(LitElement) {
|
|
|
67
67
|
firstUpdated() {
|
|
68
68
|
this.toolbarItems = getToolbarItems(this.menuConfig, this.additionalCommands.toolbarItems || []);
|
|
69
69
|
this.undoItems = getUndoItems(this.menuConfig, this.additionalCommands.undoItems || []);
|
|
70
|
+
console.log('additiona-items', this.additionalCommands.blockItems);
|
|
70
71
|
this.blockItems = getBlockItems(this.menuConfig, this.additionalCommands.blockItems || []);
|
|
71
72
|
}
|
|
72
73
|
|
|
@@ -123,7 +124,6 @@ export class DileEditorToolbar extends DileI18nMixin(LitElement) {
|
|
|
123
124
|
${this.blockItems.map(item => html`
|
|
124
125
|
<option value="${item.commandName}">${this.translations[item.commandName] || item.commandName}</option>
|
|
125
126
|
`)}
|
|
126
|
-
<option value="-"></option>
|
|
127
127
|
</select>
|
|
128
128
|
</dile-select>
|
|
129
129
|
</div>
|