@harbour-enterprises/superdoc 0.12.30 → 0.12.31-next.1

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 (54) hide show
  1. package/dist/chunks/{super-editor.es-J7K_8fA3.es.js → super-editor.es-Bt5pMkY-.es.js} +500 -236
  2. package/dist/chunks/{super-editor.es-0mAzj58N.cjs → super-editor.es-CzfjXQ8V.cjs} +499 -235
  3. package/dist/composables/use-high-contrast-mode.d.ts +5 -0
  4. package/dist/composables/use-high-contrast-mode.d.ts.map +1 -0
  5. package/dist/core/SuperDoc.d.ts +7 -0
  6. package/dist/core/SuperDoc.d.ts.map +1 -1
  7. package/dist/core/create-app.d.ts.map +1 -1
  8. package/dist/style.css +299 -245
  9. package/dist/super-editor/ai-writer.es.js +2 -2
  10. package/dist/super-editor/chunks/{converter-BSr2Ue72.js → converter-LyqpytFD.js} +2 -2
  11. package/dist/super-editor/chunks/{docx-zipper-BCUCSdEs.js → docx-zipper-CSx2w--M.js} +1 -1
  12. package/dist/super-editor/chunks/{editor-DOwVVn_i.js → editor-czvDp00c.js} +96 -35
  13. package/dist/super-editor/chunks/{toolbar-hUPYR8un.js → toolbar-BnvzLMKn.js} +80 -36
  14. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  15. package/dist/super-editor/composables/use-high-contrast-mode.d.ts +5 -0
  16. package/dist/super-editor/composables/use-high-contrast-mode.d.ts.map +1 -0
  17. package/dist/super-editor/converter.es.js +1 -1
  18. package/dist/super-editor/core/Editor.d.ts +1 -0
  19. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  20. package/dist/super-editor/docx-zipper.es.js +2 -2
  21. package/dist/super-editor/editor.es.js +3 -3
  22. package/dist/super-editor/extensions/ai/ai-nodes.d.ts.map +1 -1
  23. package/dist/super-editor/extensions/bookmarks/bookmarks.d.ts.map +1 -1
  24. package/dist/super-editor/extensions/bullet-list/bullet-list.d.ts.map +1 -1
  25. package/dist/super-editor/extensions/comment/comment.d.ts.map +1 -1
  26. package/dist/super-editor/extensions/document/document.d.ts.map +1 -1
  27. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  28. package/dist/super-editor/extensions/heading/heading.d.ts.map +1 -1
  29. package/dist/super-editor/extensions/image/image.d.ts.map +1 -1
  30. package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
  31. package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
  32. package/dist/super-editor/extensions/mention/mention.d.ts.map +1 -1
  33. package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
  34. package/dist/super-editor/extensions/page-number/page-number.d.ts.map +1 -1
  35. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
  36. package/dist/super-editor/extensions/run-item/run-item.d.ts.map +1 -1
  37. package/dist/super-editor/extensions/shape-container/shape-container.d.ts.map +1 -1
  38. package/dist/super-editor/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  39. package/dist/super-editor/extensions/structured-content/structured-content.d.ts.map +1 -1
  40. package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
  41. package/dist/super-editor/extensions/table-cell/table-cell.d.ts.map +1 -1
  42. package/dist/super-editor/extensions/table-header/table-header.d.ts.map +1 -1
  43. package/dist/super-editor/extensions/table-row/table-row.d.ts.map +1 -1
  44. package/dist/super-editor/file-zipper.es.js +1 -1
  45. package/dist/super-editor/style.css +243 -196
  46. package/dist/super-editor/super-editor.es.js +334 -174
  47. package/dist/super-editor/toolbar.es.js +2 -2
  48. package/dist/super-editor.cjs +1 -1
  49. package/dist/super-editor.es.js +1 -1
  50. package/dist/superdoc.cjs +34 -9
  51. package/dist/superdoc.es.js +35 -10
  52. package/dist/superdoc.umd.js +536 -247
  53. package/dist/superdoc.umd.js.map +1 -1
  54. package/package.json +2 -1
@@ -1,6 +1,6 @@
1
1
  import { ref, onMounted, onUnmounted, computed, createElementBlock, openBlock, withModifiers, createElementVNode, withDirectives, unref, vModelText, createCommentVNode, nextTick } from "vue";
2
- import { T as TextSelection } from "./chunks/converter-BSr2Ue72.js";
3
- import { _ as _export_sfc } from "./chunks/editor-DOwVVn_i.js";
2
+ import { T as TextSelection } from "./chunks/converter-LyqpytFD.js";
3
+ import { _ as _export_sfc } from "./chunks/editor-czvDp00c.js";
4
4
  const DEFAULT_API_ENDPOINT = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights";
5
5
  const SYSTEM_PROMPT = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
6
6
  async function baseInsightsFetch(payload, options = {}) {
@@ -23309,7 +23309,7 @@ const _SuperConverter = class _SuperConverter {
23309
23309
  return;
23310
23310
  }
23311
23311
  }
23312
- static updateDocumentVersion(docx = this.convertedXml, version = "0.12.30") {
23312
+ static updateDocumentVersion(docx = this.convertedXml, version = "0.12.31-next.1") {
23313
23313
  const customLocation = "docProps/custom.xml";
23314
23314
  if (!docx[customLocation]) {
23315
23315
  docx[customLocation] = generateCustomXml();
@@ -23778,7 +23778,7 @@ function storeSuperdocVersion(docx) {
23778
23778
  function generateCustomXml() {
23779
23779
  return DEFAULT_CUSTOM_XML;
23780
23780
  }
23781
- function generateSuperdocVersion(pid = 2, version = "0.12.30") {
23781
+ function generateSuperdocVersion(pid = 2, version = "0.12.31-next.1") {
23782
23782
  return {
23783
23783
  type: "element",
23784
23784
  name: "property",
@@ -1,4 +1,4 @@
1
- import { x as process$1, a1 as commonjsGlobal, B as Buffer, a2 as getDefaultExportFromCjs, a3 as getContentTypesFromXml, a4 as xmljs } from "./converter-BSr2Ue72.js";
1
+ import { x as process$1, a1 as commonjsGlobal, B as Buffer, a2 as getDefaultExportFromCjs, a3 as getContentTypesFromXml, a4 as xmljs } from "./converter-LyqpytFD.js";
2
2
  function commonjsRequire(path) {
3
3
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -12,9 +12,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
12
12
  var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _commandService, _css, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, insertNewFileData_fn, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, createSchema_fn, generatePmData_fn, createDocFromHTML_fn, createView_fn, onCollaborationReady_fn, initComments_fn, initPagination_fn, dispatchTransaction_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, _FieldAnnotationView_instances, createAnnotation_fn;
13
13
  import * as Y from "yjs";
14
14
  import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
15
- import { P as PluginKey, a as Plugin, M as Mapping, c as callOrGet, i as isEmptyObject, S as Schema$1, T as TextSelection, b as canSplit, l as liftTarget, A as AllSelection, d as canJoin, j as joinPoint, N as NodeSelection, r as replaceStep$1, e as Selection, F as Fragment, R as ReplaceAroundStep, f as Slice, o as objectIncludes, g as deleteProps, D as DOMParser$1, h as ReplaceStep, k as NodeRange, m as findWrapping, n as isMacOS, p as isIOS, q as generateDocxRandomId, s as minMax, t as generateRandom32BitHex, u as DOMSerializer, v as Mark$1, w as dropPoint, x as process$1, B as Buffer2, y as isRegExp, z as TrackDeleteMarkName, C as TrackInsertMarkName, E as v4, G as TrackFormatMarkName, H as comments_module_events, I as AddMarkStep, J as RemoveMarkStep, K as twipsToLines, L as pixelsToTwips, O as SuperConverter, Q as EditorState, U as hasSomeParentWithClass, V as parseSizeUnit, W as getLineHeightValueString, X as toKebabCase, Y as kebabCase, Z as getColStyleDeclaration, _ as SelectionRange, $ as Transform, a0 as createColGroup } from "./converter-BSr2Ue72.js";
15
+ import { P as PluginKey, a as Plugin, M as Mapping, c as callOrGet, i as isEmptyObject, S as Schema$1, T as TextSelection, b as canSplit, l as liftTarget, A as AllSelection, d as canJoin, j as joinPoint, N as NodeSelection, r as replaceStep$1, e as Selection, F as Fragment, R as ReplaceAroundStep, f as Slice, o as objectIncludes, g as deleteProps, D as DOMParser$1, h as ReplaceStep, k as NodeRange, m as findWrapping, n as isMacOS, p as isIOS, q as generateDocxRandomId, s as minMax, t as generateRandom32BitHex, u as DOMSerializer, v as Mark$1, w as dropPoint, x as process$1, B as Buffer2, y as isRegExp, z as TrackDeleteMarkName, C as TrackInsertMarkName, E as v4, G as TrackFormatMarkName, H as comments_module_events, I as AddMarkStep, J as RemoveMarkStep, K as twipsToLines, L as pixelsToTwips, O as SuperConverter, Q as EditorState, U as hasSomeParentWithClass, V as parseSizeUnit, W as getLineHeightValueString, X as toKebabCase, Y as kebabCase, Z as getColStyleDeclaration, _ as SelectionRange, $ as Transform, a0 as createColGroup } from "./converter-LyqpytFD.js";
16
16
  import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
17
- import { D as DocxZipper } from "./docx-zipper-BCUCSdEs.js";
17
+ import { D as DocxZipper } from "./docx-zipper-CSx2w--M.js";
18
18
  function getMarksFromSelection(state) {
19
19
  const { from: from2, to, empty: empty2 } = state.selection;
20
20
  const marks = [];
@@ -12839,6 +12839,9 @@ const createHeaderFooterEditor = ({
12839
12839
  pm.style.minHeight = "100%";
12840
12840
  pm.style.outline = "none";
12841
12841
  pm.style.border = "none";
12842
+ pm.setAttribute("role", "textbox");
12843
+ pm.setAttribute("aria-multiline", true);
12844
+ pm.setAttribute("aria-label", `${type} content area. Double click to start typing.`);
12842
12845
  return headerFooterEditor;
12843
12846
  };
12844
12847
  const broadcastEditorEvents = (editor, sectionEditor) => {
@@ -12860,13 +12863,16 @@ const broadcastEditorEvents = (editor, sectionEditor) => {
12860
12863
  const toggleHeaderFooterEditMode = (editor, focusedSectionEditor, isEditMode) => {
12861
12864
  editor.converter.headerEditors.forEach((item) => {
12862
12865
  item.editor.setEditable(isEditMode, false);
12866
+ item.editor.view.dom.setAttribute("aria-readonly", !isEditMode);
12863
12867
  });
12864
12868
  editor.converter.footerEditors.forEach((item) => {
12865
12869
  item.editor.setEditable(isEditMode, false);
12870
+ item.editor.view.dom.setAttribute("aria-readonly", !isEditMode);
12866
12871
  });
12867
12872
  if (isEditMode) {
12868
12873
  const pm = document.querySelector(".ProseMirror");
12869
12874
  pm.classList.add("header-footer-edit");
12875
+ pm.setAttribute("aria-readonly", true);
12870
12876
  }
12871
12877
  if (focusedSectionEditor) {
12872
12878
  focusedSectionEditor.view.focus();
@@ -14054,6 +14060,16 @@ const generateCollaborationData = (editor) => {
14054
14060
  initializeMetaMap(ydoc, editor);
14055
14061
  return encodeStateAsUpdate(ydoc);
14056
14062
  };
14063
+ const isHighContrastMode = ref(false);
14064
+ function useHighContrastMode() {
14065
+ const setHighContrastMode = (value) => {
14066
+ isHighContrastMode.value = value;
14067
+ };
14068
+ return {
14069
+ isHighContrastMode,
14070
+ setHighContrastMode
14071
+ };
14072
+ }
14057
14073
  const _Editor = class _Editor extends EventEmitter {
14058
14074
  /**
14059
14075
  * Create a new Editor instance
@@ -14174,6 +14190,8 @@ const _Editor = class _Editor extends EventEmitter {
14174
14190
  }
14175
14191
  };
14176
14192
  let initMode = modes[this.options.mode] ?? modes.default;
14193
+ const { setHighContrastMode } = useHighContrastMode();
14194
+ this.setHighContrastMode = setHighContrastMode;
14177
14195
  initMode();
14178
14196
  }
14179
14197
  /**
@@ -14470,6 +14488,10 @@ const _Editor = class _Editor extends EventEmitter {
14470
14488
  if (!proseMirror || !pageSize || !pageMargins) {
14471
14489
  return;
14472
14490
  }
14491
+ proseMirror.setAttribute("role", "document");
14492
+ proseMirror.setAttribute("aria-multiline", true);
14493
+ proseMirror.setAttribute("aria-label", "Main content area, start typing to enter text.");
14494
+ proseMirror.setAttribute("aria-description", "");
14473
14495
  element.style.width = pageSize.width + "in";
14474
14496
  element.style.minWidth = pageSize.width + "in";
14475
14497
  element.style.minHeight = pageSize.height + "in";
@@ -14721,7 +14743,7 @@ const _Editor = class _Editor extends EventEmitter {
14721
14743
  * @returns {Object | void} Migration results
14722
14744
  */
14723
14745
  processCollaborationMigrations() {
14724
- console.debug("[checkVersionMigrations] Current editor version", "0.12.30");
14746
+ console.debug("[checkVersionMigrations] Current editor version", "0.12.31-next.1");
14725
14747
  if (!this.options.ydoc) return;
14726
14748
  const metaMap = this.options.ydoc.getMap("meta");
14727
14749
  let docVersion = metaMap.get("version");
@@ -15181,6 +15203,7 @@ createView_fn = function() {
15181
15203
  toggleHeaderFooterEditMode(this, null, false);
15182
15204
  const pm = document.querySelector(".ProseMirror");
15183
15205
  pm.classList.remove("header-footer-edit");
15206
+ pm.setAttribute("aria-readonly", false);
15184
15207
  }
15185
15208
  }
15186
15209
  });
@@ -16191,7 +16214,8 @@ const AiLoaderNode = Node$1.create({
16191
16214
  return {
16192
16215
  htmlAttributes: {
16193
16216
  class: "sd-ai-loader",
16194
- contentEditable: "false"
16217
+ contentEditable: "false",
16218
+ "aria-label": "AI loader node"
16195
16219
  }
16196
16220
  };
16197
16221
  },
@@ -16387,7 +16411,8 @@ const Document = Node$1.create({
16387
16411
  addAttributes() {
16388
16412
  return {
16389
16413
  attributes: {
16390
- rendered: false
16414
+ rendered: false,
16415
+ "aria-label": "Document node"
16391
16416
  }
16392
16417
  };
16393
16418
  }
@@ -16411,7 +16436,8 @@ const RunItem = Node$1.create({
16411
16436
  addAttributes() {
16412
16437
  return {
16413
16438
  attributes: {
16414
- rendered: false
16439
+ rendered: false,
16440
+ "aria-label": "Run node"
16415
16441
  }
16416
16442
  };
16417
16443
  }
@@ -16464,7 +16490,9 @@ const BulletList = Node$1.create({
16464
16490
  addOptions() {
16465
16491
  return {
16466
16492
  itemTypeName: "listItem",
16467
- htmlAttributes: {},
16493
+ htmlAttributes: {
16494
+ "aria-label": "Bullet list node"
16495
+ },
16468
16496
  keepMarks: true,
16469
16497
  keepAttributes: false
16470
16498
  };
@@ -16755,7 +16783,9 @@ const OrderedList = Node$1.create({
16755
16783
  addOptions() {
16756
16784
  return {
16757
16785
  itemTypeName: "listItem",
16758
- htmlAttributes: {},
16786
+ htmlAttributes: {
16787
+ "aria-label": "Ordered list node"
16788
+ },
16759
16789
  keepMarks: true,
16760
16790
  keepAttributes: false,
16761
16791
  listStyleTypes: ["decimal", "lowerAlpha", "lowerRoman"]
@@ -17155,7 +17185,9 @@ const ListItem = Node$1.create({
17155
17185
  // to run listItem commands first
17156
17186
  addOptions() {
17157
17187
  return {
17158
- htmlAttributes: {},
17188
+ htmlAttributes: {
17189
+ "aria-label": "List item node"
17190
+ },
17159
17191
  bulletListTypeName: "bulletList",
17160
17192
  orderedListTypeName: "orderedList"
17161
17193
  };
@@ -17677,7 +17709,9 @@ const Heading = Node$1.create({
17677
17709
  addOptions() {
17678
17710
  return {
17679
17711
  levels: [1, 2, 3, 4, 5, 6],
17680
- htmlAttributes: {}
17712
+ htmlAttributes: {
17713
+ "aria-label": "Heading node"
17714
+ }
17681
17715
  };
17682
17716
  },
17683
17717
  addAttributes() {
@@ -17738,7 +17772,8 @@ const CommentRangeStart = Node$1.create({
17738
17772
  addOptions() {
17739
17773
  return {
17740
17774
  htmlAttributes: {
17741
- contentEditable: "false"
17775
+ contentEditable: "false",
17776
+ "aria-label": "Comment range start node"
17742
17777
  }
17743
17778
  };
17744
17779
  },
@@ -17767,7 +17802,8 @@ const CommentRangeEnd = Node$1.create({
17767
17802
  addOptions() {
17768
17803
  return {
17769
17804
  htmlAttributes: {
17770
- contentEditable: "false"
17805
+ contentEditable: "false",
17806
+ "aria-label": "Comment range end node"
17771
17807
  }
17772
17808
  };
17773
17809
  },
@@ -17795,7 +17831,8 @@ const CommentReference = Node$1.create({
17795
17831
  addOptions() {
17796
17832
  return {
17797
17833
  htmlAttributes: {
17798
- contentEditable: "false"
17834
+ contentEditable: "false",
17835
+ "aria-label": "Comment reference node"
17799
17836
  }
17800
17837
  };
17801
17838
  },
@@ -17970,7 +18007,9 @@ const HardBreak = Node$1.create({
17970
18007
  return {
17971
18008
  htmlAttributes: {
17972
18009
  contentEditable: "false",
17973
- lineBreakType: "page"
18010
+ lineBreakType: "page",
18011
+ "aria-hidden": "true",
18012
+ "aria-label": "Hard break node"
17974
18013
  }
17975
18014
  };
17976
18015
  },
@@ -20328,7 +20367,9 @@ const Table = Node$1.create({
20328
20367
  tableRole: "table",
20329
20368
  addOptions() {
20330
20369
  return {
20331
- htmlAttributes: {},
20370
+ htmlAttributes: {
20371
+ "aria-label": "Table node"
20372
+ },
20332
20373
  resizable: true,
20333
20374
  handleWidth: 5,
20334
20375
  cellMinWidth: 25,
@@ -20578,7 +20619,9 @@ const TableHeader = Node$1.create({
20578
20619
  isolating: true,
20579
20620
  addOptions() {
20580
20621
  return {
20581
- htmlAttributes: {}
20622
+ htmlAttributes: {
20623
+ "aria-label": "Table head node"
20624
+ }
20582
20625
  };
20583
20626
  },
20584
20627
  addAttributes() {
@@ -20618,7 +20661,9 @@ const TableRow = Node$1.create({
20618
20661
  tableRole: "row",
20619
20662
  addOptions() {
20620
20663
  return {
20621
- htmlAttributes: {}
20664
+ htmlAttributes: {
20665
+ "aria-label": "Table row node"
20666
+ }
20622
20667
  };
20623
20668
  },
20624
20669
  addAttributes() {
@@ -20646,7 +20691,9 @@ const TableCell = Node$1.create({
20646
20691
  isolating: true,
20647
20692
  addOptions() {
20648
20693
  return {
20649
- htmlAttributes: {}
20694
+ htmlAttributes: {
20695
+ "aria-label": "Table cell node"
20696
+ }
20650
20697
  };
20651
20698
  },
20652
20699
  addAttributes() {
@@ -21327,7 +21374,8 @@ const FieldAnnotation = Node$1.create({
21327
21374
  addOptions() {
21328
21375
  return {
21329
21376
  htmlAttributes: {
21330
- class: annotationClass
21377
+ class: annotationClass,
21378
+ "aria-label": "Field annotation node"
21331
21379
  },
21332
21380
  annotationClass,
21333
21381
  annotationContentClass,
@@ -22269,7 +22317,8 @@ const Image = Node$1.create({
22269
22317
  return {
22270
22318
  allowBase64: true,
22271
22319
  htmlAttributes: {
22272
- style: "display: inline-block;"
22320
+ style: "display: inline-block;",
22321
+ "aria-label": "Image node"
22273
22322
  }
22274
22323
  };
22275
22324
  },
@@ -22385,7 +22434,11 @@ const BookmarkStart = Node$1.create({
22385
22434
  inline: true,
22386
22435
  addOptions() {
22387
22436
  return {
22388
- htmlAttributes: { style: "height: 0; width: 0;" }
22437
+ htmlAttributes: {
22438
+ style: "height: 0; width: 0;",
22439
+ "aria-label": "Bookmark start node",
22440
+ role: "link"
22441
+ }
22389
22442
  };
22390
22443
  },
22391
22444
  addAttributes() {
@@ -22419,7 +22472,8 @@ const Mention = Node$1.create({
22419
22472
  addOptions() {
22420
22473
  return {
22421
22474
  htmlAttributes: {
22422
- class: "sd-editor-mention"
22475
+ class: "sd-editor-mention",
22476
+ "aria-label": "Mention node"
22423
22477
  }
22424
22478
  };
22425
22479
  },
@@ -22457,7 +22511,8 @@ const PageNumber = Node$1.create({
22457
22511
  addOptions() {
22458
22512
  return {
22459
22513
  htmlAttributes: {
22460
- "data-id": "auto-page-number"
22514
+ "data-id": "auto-page-number",
22515
+ "aria-label": "Page number node"
22461
22516
  }
22462
22517
  };
22463
22518
  },
@@ -22476,7 +22531,8 @@ const TotalPageCount = Node$1.create({
22476
22531
  addOptions() {
22477
22532
  return {
22478
22533
  htmlAttributes: {
22479
- "data-id": "auto-total-pages"
22534
+ "data-id": "auto-total-pages",
22535
+ "aria-label": "Total page count node"
22480
22536
  }
22481
22537
  };
22482
22538
  },
@@ -22495,7 +22551,8 @@ const ShapeContainer = Node$1.create({
22495
22551
  addOptions() {
22496
22552
  return {
22497
22553
  htmlAttributes: {
22498
- class: "sd-editor-shape-container"
22554
+ class: "sd-editor-shape-container",
22555
+ "aria-label": "Shape container node"
22499
22556
  }
22500
22557
  };
22501
22558
  },
@@ -22548,7 +22605,8 @@ const ShapeTextbox = Node$1.create({
22548
22605
  addOptions() {
22549
22606
  return {
22550
22607
  htmlAttributes: {
22551
- class: "sd-editor-shape-textbox"
22608
+ class: "sd-editor-shape-textbox",
22609
+ "aria-label": "Shape textbox node"
22552
22610
  }
22553
22611
  };
22554
22612
  },
@@ -22640,7 +22698,9 @@ const StructuredContent = Node$1.create({
22640
22698
  addOptions() {
22641
22699
  return {
22642
22700
  annotationClass: "sd-structured-content-tag",
22643
- htmlAttributes: {}
22701
+ htmlAttributes: {
22702
+ "aria-label": "Structured content node"
22703
+ }
22644
22704
  };
22645
22705
  },
22646
22706
  parseDOM() {
@@ -27312,16 +27372,17 @@ export {
27312
27372
  generateLinkedStyleString as b,
27313
27373
  findParentNode as c,
27314
27374
  getActiveFormatting as d,
27315
- getStarterExtensions as e,
27375
+ undoDepth as e,
27316
27376
  findPlaceholder as f,
27317
27377
  global as g,
27318
- getRichTextExtensions as h,
27378
+ getStarterExtensions as h,
27319
27379
  isInTable$1 as i,
27320
- Extension as j,
27321
- helpers as k,
27322
- index$1 as l,
27323
- index as m,
27324
- getMarksFromSelection as n,
27380
+ getRichTextExtensions as j,
27381
+ Extension as k,
27382
+ helpers as l,
27383
+ index$1 as m,
27384
+ index as n,
27385
+ getMarksFromSelection as o,
27325
27386
  redoDepth as r,
27326
- undoDepth as u
27387
+ useHighContrastMode as u
27327
27388
  };