@use-kona/editor 0.1.9 → 0.1.10

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.
@@ -131,7 +131,7 @@ class ListsPlugin {
131
131
  children: props.children
132
132
  }),
133
133
  serialize: (element, children)=>{
134
- if (element.type === ListsPlugin.BULLETED_LIST_ELEMENT) return `<li>${children}</li>`;
134
+ if (element.type === ListsPlugin.LIST_ITEM_ELEMENT) return `<li>${children}</li>`;
135
135
  },
136
136
  deserialize: (element, children)=>{
137
137
  const { nodeName } = element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@use-kona/editor",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts"
@@ -218,7 +218,7 @@ export class ListsPlugin implements IPlugin {
218
218
  );
219
219
  },
220
220
  serialize: (element, children) => {
221
- if (element.type === ListsPlugin.BULLETED_LIST_ELEMENT) {
221
+ if (element.type === ListsPlugin.LIST_ITEM_ELEMENT) {
222
222
  return `<li>${children}</li>`;
223
223
  }
224
224
  },