@superdoc-dev/mcp 0.3.0-next.106 → 0.3.0-next.107

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 (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -200676,7 +200676,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
200676
200676
  init_remark_gfm_BhnWr3yf_es();
200677
200677
  });
200678
200678
 
200679
- // ../../packages/superdoc/dist/chunks/src-C3dDgx5S.es.js
200679
+ // ../../packages/superdoc/dist/chunks/src-DkqDaHKO.es.js
200680
200680
  function deleteProps(obj, propOrProps) {
200681
200681
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
200682
200682
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -277297,6 +277297,7 @@ var Node$13 = class Node$14 {
277297
277297
  "redo"
277298
277298
  ];
277299
277299
  const shouldUseLgCompactStyles = availableWidth <= RESPONSIVE_BREAKPOINTS.lg;
277300
+ const shouldIncludeFormattingMarks = superToolbar.config?.showFormattingMarksButton === true;
277300
277301
  if (shouldUseLgCompactStyles)
277301
277302
  documentMode.attributes.value = {
277302
277303
  ...documentMode.attributes.value,
@@ -277339,7 +277340,7 @@ var Node$13 = class Node$14 {
277339
277340
  linkedStyles,
277340
277341
  separator,
277341
277342
  ruler,
277342
- formattingMarks,
277343
+ ...shouldIncludeFormattingMarks ? [formattingMarks] : [],
277343
277344
  copyFormat,
277344
277345
  clearFormatting,
277345
277346
  aiButton,
@@ -277355,7 +277356,6 @@ var Node$13 = class Node$14 {
277355
277356
  toolbarItems.splice(getLinkedStylesIndex - 1, 2);
277356
277357
  const filterItems = [
277357
277358
  "ruler",
277358
- "formattingMarks",
277359
277359
  "zoom",
277360
277360
  "undo",
277361
277361
  "redo"
@@ -295180,7 +295180,7 @@ menclose::after {
295180
295180
  return;
295181
295181
  console.log(...args$1);
295182
295182
  }, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
295183
- var init_src_C3dDgx5S_es = __esm(() => {
295183
+ var init_src_DkqDaHKO_es = __esm(() => {
295184
295184
  init_rolldown_runtime_Bg48TavK_es();
295185
295185
  init_SuperConverter_ByqzBuoW_es();
295186
295186
  init_jszip_C49i9kUs_es();
@@ -317042,7 +317042,8 @@ function print() { __p += __j.call(arguments, '') }
317042
317042
  editor: null,
317043
317043
  aiApiKey: null,
317044
317044
  aiEndpoint: null,
317045
- customButtons: []
317045
+ customButtons: [],
317046
+ showFormattingMarksButton: false
317046
317047
  };
317047
317048
  constructor(config3) {
317048
317049
  super();
@@ -333366,7 +333367,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
333366
333367
 
333367
333368
  // ../../packages/superdoc/dist/super-editor.es.js
333368
333369
  var init_super_editor_es = __esm(() => {
333369
- init_src_C3dDgx5S_es();
333370
+ init_src_DkqDaHKO_es();
333370
333371
  init_SuperConverter_ByqzBuoW_es();
333371
333372
  init_jszip_C49i9kUs_es();
333372
333373
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.3.0-next.106",
3
+ "version": "0.3.0-next.107",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"