@editora/core 1.0.18 → 1.0.20

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.
Files changed (36) hide show
  1. package/dist/{A11yCheckerPlugin.native-DIKuCeFw.mjs → A11yCheckerPlugin.native-qW_njhLY.mjs} +2 -2
  2. package/dist/{AnchorPlugin.native-DXZdK3zr.mjs → AnchorPlugin.native-Drmxhy98.mjs} +37 -37
  3. package/dist/{BlockquotePlugin.native-57_Xcjl1.mjs → BlockquotePlugin.native-D8jjGd0c.mjs} +19 -19
  4. package/dist/{CapitalizationPlugin.native-C-HRbXGh.mjs → CapitalizationPlugin.native-Mh-kUy-x.mjs} +17 -17
  5. package/dist/{ChecklistPlugin.native-NVrBUkaL.mjs → ChecklistPlugin.native-DLedNLsb.mjs} +31 -31
  6. package/dist/{CodePlugin.native-BH-K4xmW.mjs → CodePlugin.native-BcVqm5MS.mjs} +64 -65
  7. package/dist/{CodePlugin.native-hNgfXlfS.mjs → CodePlugin.native-Rgxx2Igx.mjs} +2708 -1225
  8. package/dist/{CollaborationPlugin.native-oSybCGPW.mjs → CollaborationPlugin.native-Bl3R9CRI.mjs} +1406 -1295
  9. package/dist/{CommentsPlugin.native-CLip9wAO.mjs → CommentsPlugin.native-DncTHiEe.mjs} +2 -2
  10. package/dist/{DirectionPlugin.native-Bl-QLFzO.mjs → DirectionPlugin.native-B-Zj-EAt.mjs} +33 -33
  11. package/dist/{DocumentManagerPlugin.native-iFip6s4Q.mjs → DocumentManagerPlugin.native-B8K-Oqom.mjs} +12 -11
  12. package/dist/{FontFamilyPlugin.native-M3cNQ0KA.mjs → FontFamilyPlugin.native-DLq9x046.mjs} +32 -32
  13. package/dist/{PreviewPlugin.native-CiR51jql.mjs → PreviewPlugin.native-Dv5OsffK.mjs} +49 -52
  14. package/dist/{SpellCheckPlugin.native-Bef2oTLB.mjs → SpellCheckPlugin.native-BGm2qPfn.mjs} +20 -20
  15. package/dist/{TablePlugin.native-BjIxYZ2X.mjs → TablePlugin.native-C1YZ372P.mjs} +156 -147
  16. package/dist/TemplatePlugin.native-Dwk8TgxI.mjs +628 -0
  17. package/dist/{documentManager-BcBIv5P-.mjs → documentManager-BWK_-KJp.mjs} +524 -526
  18. package/dist/editora.min.js +17 -17
  19. package/dist/editora.umd.js +17 -17
  20. package/dist/{index-XsYC_KdJ.mjs → index-BxlbmLsp.mjs} +428 -405
  21. package/dist/index-Cdy6TOCy.js +12 -0
  22. package/dist/index.cjs.js +4 -4
  23. package/dist/index.esm.js +19 -16
  24. package/dist/plugin-loader.js +13 -13
  25. package/dist/purify.es-BHa5gZB7.mjs +1481 -0
  26. package/dist/sanitizeHtml-DA0ajC6k.mjs +17 -0
  27. package/dist/webcomponent-core.js +466 -449
  28. package/dist/webcomponent-core.min.js +91 -89
  29. package/dist/webcomponent.cjs.js +1 -1
  30. package/dist/webcomponent.esm.js +2 -2
  31. package/dist/webcomponent.js +397 -380
  32. package/dist/webcomponent.min.js +968 -967
  33. package/index.d.ts +9 -0
  34. package/package.json +1 -1
  35. package/dist/TemplatePlugin.native-D6n5RUnC.mjs +0 -1176
  36. package/dist/index-_eKRBZPq.js +0 -12
package/index.d.ts CHANGED
@@ -385,3 +385,12 @@ export function sanitizeInputHTML(
385
385
  */
386
386
  additionalAllowedTags?: string[],
387
387
  ): string;
388
+
389
+ /**
390
+ * Removes editing-only elements plugins place inside the editable element (the table plugin's
391
+ * resize handles, plus the `position: relative` anchor style they add to cells) from editor HTML.
392
+ * Applied automatically to onChange / content-change / getContent / autosave output.
393
+ */
394
+ export function stripEditorUiArtifacts(html: string): string;
395
+ /** `el.innerHTML` without editing-only artifacts. */
396
+ export function getCleanEditorHTML(el: Element | null | undefined): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editora/core",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "Framework-agnostic rich text editor core for React and web apps, built for enterprise editing workflows.",
5
5
  "author": "Ajay Kumar <ajaykr089@gmail.com>",
6
6
  "license": "MIT",