Просмотр исходного кода

Merge pull request #8864 from weseek/fix/editor-package-exports

fix: Editor package import/export
Yuki Takei 1 год назад
Родитель
Сommit
4d0b3e22ac
100 измененных файлов с 75 добавлено и 78 удалено
  1. 0 1
      apps/app/public/images/icons/editor/bold.svg
  2. 0 1
      apps/app/public/images/icons/editor/check.svg
  3. 0 1
      apps/app/public/images/icons/editor/code.svg
  4. 0 1
      apps/app/public/images/icons/editor/header.svg
  5. 0 1
      apps/app/public/images/icons/editor/italic.svg
  6. 0 1
      apps/app/public/images/icons/editor/list-ol.svg
  7. 0 1
      apps/app/public/images/icons/editor/list-ul.svg
  8. 0 1
      apps/app/public/images/icons/editor/picture.svg
  9. 0 1
      apps/app/public/images/icons/editor/quote.svg
  10. 0 1
      apps/app/public/images/icons/editor/strikethrough.svg
  11. 0 1
      apps/app/public/images/icons/editor/table.svg
  12. 1 1
      apps/app/src/client/services/side-effects/handsontable-modal-launcher-for-view.ts
  13. 3 2
      apps/app/src/components/PageComment/CommentEditor.tsx
  14. 3 2
      apps/app/src/components/PageEditor/ConflictDiffModal.tsx
  15. 1 2
      apps/app/src/components/PageEditor/DrawioModal.tsx
  16. 1 1
      apps/app/src/components/PageEditor/HandsontableModal.tsx
  17. 2 2
      apps/app/src/components/PageEditor/LinkEditModal.tsx
  18. 3 2
      apps/app/src/components/PageEditor/PageEditor.tsx
  19. 2 1
      apps/app/src/components/PageEditor/PageEditorReadOnly.tsx
  20. 2 1
      apps/app/src/components/PageEditor/ScrollSyncHelper.tsx
  21. 2 1
      apps/app/src/components/PageEditor/conflict.tsx
  22. 1 1
      apps/app/src/components/TemplateModal/TemplateModal.tsx
  23. 21 28
      apps/app/src/styles/_editor.scss
  24. 5 1
      packages/editor/src/client/components/CodeMirrorEditor/CodeMirrorEditor.module.scss
  25. 1 1
      packages/editor/src/client/components/CodeMirrorEditor/CodeMirrorEditor.tsx
  26. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/AttachmentsDropdownItem.tsx
  27. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/AttachmentsDropup.module.scss
  28. 1 1
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/AttachmentsDropup.tsx
  29. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/DiagramButton.tsx
  30. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/EmojiButton.tsx
  31. 1 1
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/LinkEditButton.tsx
  32. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TableButton.tsx
  33. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TemplateButton.tsx
  34. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TextFormatTools.module.scss
  35. 1 1
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TextFormatTools.tsx
  36. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/Toolbar.module.scss
  37. 1 1
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/Toolbar.tsx
  38. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/index.ts
  39. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/Toolbar/scss/toolbar-button.scss
  40. 0 0
      packages/editor/src/client/components/CodeMirrorEditor/index.ts
  41. 0 0
      packages/editor/src/client/components/CodeMirrorEditorComment.tsx
  42. 1 1
      packages/editor/src/client/components/CodeMirrorEditorDiff.tsx
  43. 1 1
      packages/editor/src/client/components/CodeMirrorEditorMain.tsx
  44. 1 1
      packages/editor/src/client/components/CodeMirrorEditorReadOnly.tsx
  45. 0 0
      packages/editor/src/client/components/MergeViewer.tsx
  46. 0 0
      packages/editor/src/client/components/index.ts
  47. 2 2
      packages/editor/src/client/components/playground/Playground.tsx
  48. 2 2
      packages/editor/src/client/components/playground/PlaygroundController.tsx
  49. 0 0
      packages/editor/src/client/components/playground/Preview.tsx
  50. 0 0
      packages/editor/src/client/components/playground/index.ts
  51. 3 0
      packages/editor/src/client/index.ts
  52. 0 0
      packages/editor/src/client/services-internal/editor-theme/.eslintrc.cjs
  53. 0 0
      packages/editor/src/client/services-internal/editor-theme/ayu.ts
  54. 0 0
      packages/editor/src/client/services-internal/editor-theme/cobalt.ts
  55. 0 0
      packages/editor/src/client/services-internal/editor-theme/eclipse.ts
  56. 1 1
      packages/editor/src/client/services-internal/editor-theme/index.ts
  57. 0 0
      packages/editor/src/client/services-internal/editor-theme/material.ts
  58. 0 0
      packages/editor/src/client/services-internal/editor-theme/nord.ts
  59. 0 0
      packages/editor/src/client/services-internal/editor-theme/original-dark.ts
  60. 0 0
      packages/editor/src/client/services-internal/editor-theme/original-light.ts
  61. 0 0
      packages/editor/src/client/services-internal/editor-theme/rose-pine.ts
  62. 0 0
      packages/editor/src/client/services-internal/extensions/emojiAutocompletionSettings.ts
  63. 0 0
      packages/editor/src/client/services-internal/extensions/index.ts
  64. 0 0
      packages/editor/src/client/services-internal/extensions/setDataLine.ts
  65. 0 0
      packages/editor/src/client/services-internal/file-dropzone/index.ts
  66. 0 0
      packages/editor/src/client/services-internal/file-dropzone/use-file-dropzone/FileDropzoneOverlay.tsx
  67. 0 0
      packages/editor/src/client/services-internal/file-dropzone/use-file-dropzone/use-file-dropzone.ts
  68. 0 0
      packages/editor/src/client/services-internal/index.ts
  69. 1 1
      packages/editor/src/client/services-internal/keymaps/index.ts
  70. 0 0
      packages/editor/src/client/services-internal/keymaps/vim.ts
  71. 0 1
      packages/editor/src/client/services-internal/link-util/index.ts
  72. 1 1
      packages/editor/src/client/services-internal/link-util/markdown-link-util.ts
  73. 0 0
      packages/editor/src/client/services-internal/list-util/index.ts
  74. 0 0
      packages/editor/src/client/services-internal/list-util/insert-newline-continue-markup.ts
  75. 0 0
      packages/editor/src/client/services-internal/paste-util/index.ts
  76. 0 0
      packages/editor/src/client/services-internal/paste-util/paste-markdown-util.ts
  77. 0 0
      packages/editor/src/client/services-internal/table/index.ts
  78. 1 1
      packages/editor/src/client/services-internal/table/insert-new-row-to-table-markdown.ts
  79. 0 0
      packages/editor/src/client/services-internal/table/use-show-table-icon.ts
  80. 0 0
      packages/editor/src/client/services/index.ts
  81. 0 0
      packages/editor/src/client/services/use-codemirror-editor/index.ts
  82. 0 0
      packages/editor/src/client/services/use-codemirror-editor/use-codemirror-editor.ts
  83. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/append-extensions.ts
  84. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/focus.ts
  85. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/fold-drawio.ts
  86. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/get-doc.ts
  87. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/init-doc.ts
  88. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/insert-markdown-elements.ts
  89. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/insert-prefix.ts
  90. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/insert-text.ts
  91. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/replace-text.ts
  92. 0 0
      packages/editor/src/client/services/use-codemirror-editor/utils/set-caret-line.ts
  93. 0 0
      packages/editor/src/client/stores/codemirror-editor.ts
  94. 6 2
      packages/editor/src/client/stores/index.ts
  95. 1 1
      packages/editor/src/client/stores/use-collaborative-editor-mode.ts
  96. 0 0
      packages/editor/src/client/stores/use-default-extensions.ts
  97. 0 0
      packages/editor/src/client/stores/use-drawio.ts
  98. 1 1
      packages/editor/src/client/stores/use-editor-settings.ts
  99. 0 0
      packages/editor/src/client/stores/use-handsontable.ts
  100. 1 1
      packages/editor/src/client/stores/use-link-edit-modal.ts

+ 0 - 1
apps/app/public/images/icons/editor/bold.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="109" height="140" viewBox="0 0 10.9 14"><path d="M0 0h5.6c3 0 4.7 1.1 4.7 3.4a3.1 3.1 0 0 1-2.5 3.1 3.7 3.7 0 0 1 3.1 3.5c0 2.9-1.4 4-4.2 4H0zm5.2 6.5c2.7 0 2.6-1.4 2.6-3.1S7.9.7 5.6.7H2.3v5.8zm-2.9 6.6h3.4c2.1 0 2.7-1.1 2.7-3.1s0-2.8-3.2-2.8H2.3z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/check.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="144" height="160" viewBox="0 0 14.4 16"><path d="M13.9 5.5a.5.5 0 0 1 .5.5v9a1.1 1.1 0 0 1-1.1 1H1a1.1 1.1 0 0 1-1-1V2.6a1.1 1.1 0 0 1 1-1h7.1a.5.5 0 0 1 .5.5.5.5 0 0 1-.5.5H1V15h12.3V6a.6.6 0 0 1 .6-.5zM3.6 8.3a.5.5 0 0 0 0 .7l2.5 2.5a.8.8 0 0 0 1.1 0h.1l7-10.7c.1-.2.1-.6-.2-.7a.5.5 0 0 0-.7.1L6.6 10.6 4.3 8.3a.5.5 0 0 0-.7 0z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/code.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="181" height="140" viewBox="0 0 18.1 14"><path d="M17.8 7.9l-4 3.8a.5.5 0 0 1-.8 0 .5.5 0 0 1 0-.8L16.8 7 13 3.2a.6.6 0 0 1 0-.9.5.5 0 0 1 .8 0l4 3.8a1.3 1.3 0 0 1 0 1.8zM5.2 2.3a.7.7 0 0 1 0 .9L1.3 7l3.9 3.9a.6.6 0 0 1 0 .8.6.6 0 0 1-.9 0L.4 7.9a1.3 1.3 0 0 1 0-1.8l3.9-3.8a.6.6 0 0 1 .9 0zM11.5.8L7.8 13.6a.6.6 0 0 1-.7.4.6.6 0 0 1-.5-.8L10.3.4a.7.7 0 0 1 .8-.4.6.6 0 0 1 .4.8z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/header.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="137" height="140" viewBox="0 0 13.7 14"><path d="M10.2 0h2.9a.6.6 0 0 1 .6.6.6.6 0 0 1-.6.6h-.8v11.6h.8a.6.6 0 0 1 .6.6.6.6 0 0 1-.6.6h-2.9a.6.6 0 0 1-.6-.6.6.6 0 0 1 .6-.6h.8V7.2H2.7v5.6h.8a.6.6 0 0 1 .6.6.6.6 0 0 1-.6.6H.6a.6.6 0 0 1-.6-.6.6.6 0 0 1 .6-.6h.7V1.2H.6A.6.6 0 0 1 0 .6.6.6 0 0 1 .6 0h2.9a.6.6 0 0 1 .6.6.6.6 0 0 1-.6.6h-.8v4.9H11V1.2h-.8a.6.6 0 0 1-.6-.6.6.6 0 0 1 .6-.6z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/italic.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="86" height="139" viewBox="0 0 8.6 13.9"><path d="M8.1 0a.6.6 0 0 1 .5.6c0 .3-.2.6-.7.6H6.2L3.8 12.8h1.8c.2 0 .4.3.4.5a.7.7 0 0 1-.7.6H.5c-.3 0-.5-.4-.5-.6s.4-.6.7-.6h1.7L4.9 1.2H3.1a.5.5 0 0 1-.5-.5c0-.3.1-.7.8-.7z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/list-ol.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="237" height="160" viewBox="0 0 23.7 16"><path d="M23.7 2a.8.8 0 0 1-.8.8H6.6a.8.8 0 0 1-.7-.8.7.7 0 0 1 .7-.7h16.3a.7.7 0 0 1 .8.7zM6.6 8.7h16.3a.7.7 0 0 0 .8-.7.8.8 0 0 0-.8-.8H6.6a.8.8 0 0 0-.7.8.7.7 0 0 0 .7.7zm0 5.9h16.3a.7.7 0 0 0 .8-.7.7.7 0 0 0-.8-.7H6.6a.7.7 0 0 0-.7.7.7.7 0 0 0 .7.7zM1.5.5V4h.6V0h-.5L.7.5v.4l.8-.4zM.9 9.6l.3-.3c.9-.9 1.4-1.5 1.4-2.2a1.2 1.2 0 0 0-1.3-1.2h-.1a1.4 1.4 0 0 0-1.2.6l.3.4a1.2 1.2 0 0 1 .9-.5.6.6 0 0 1 .8.6v.2c0 .6-.4 1.1-1.5 2.1l-.4.4v.3h2.6v-.4zm.9 4.1a1 1 0 0 0 .7-.9 1 1 0 0 0-1.1-1 2 2 0 0 0-1.1.3v.4l.8-.2c.5 0 .8.2.8.6s-.5.7-.9.7H.7v.4H1c.6 0 1.1.2 1.1.8a.8.8 0 0 1-.9.8l-.9-.3-.2.4a2 2 0 0 0 1.1.3c1 0 1.5-.6 1.5-1.2a1.2 1.2 0 0 0-.9-1.1z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/list-ul.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="216" height="135" viewBox="0 0 21.6 13.5"><path d="M6.4 1.5h14.5a.7.7 0 0 0 .7-.7.7.7 0 0 0-.7-.7H6.4a.8.8 0 0 0-.8.7.8.8 0 0 0 .8.7zm0 6h14.5a.7.7 0 0 0 .7-.7.7.7 0 0 0-.7-.7H6.4a.8.8 0 0 0-.8.7.8.8 0 0 0 .8.7zm0 6h14.5a.7.7 0 0 0 .7-.7.7.7 0 0 0-.7-.7H6.4a.8.8 0 0 0-.8.7.8.8 0 0 0 .8.7zM.9 1.5h1a.8.8 0 0 0 .9-.7.8.8 0 0 0-.9-.8h-1a.8.8 0 0 0-.9.7.8.8 0 0 0 .9.8zm0 6h1a.8.8 0 0 0 .9-.7.8.8 0 0 0-.9-.8h-1a.8.8 0 0 0-.9.7.8.8 0 0 0 .9.8zm0 6h1a.8.8 0 0 0 .9-.7.8.8 0 0 0-.9-.7h-1a.8.8 0 0 0-.9.7.8.8 0 0 0 .9.7z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/picture.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="190" height="160" viewBox="0 0 19 16"><path d="M17.8 0H1.2A1.2 1.2 0 0 0 0 1.2v13.6A1.2 1.2 0 0 0 1.2 16h16.6a1.2 1.2 0 0 0 1.2-1.2V1.2a1.4 1.4 0 0 0-.2-.6.8.8 0 0 0-.4-.4zm0 14.8H1.2v-3.5l4.7-4.6 5 4.9.3.2.5-.2 2.1-1.9 3.9 4h.1v1.1zm0-2.8l-3.5-3.5-.4-.2h-.4l-2.2 2-4.9-4.8-.4-.2c-.2 0-.4 0-.5.2L1.2 9.7V1.2h16.6V12zm-4.2-6.1h.6a1.1 1.1 0 0 0 .6-1.1 1.2 1.2 0 0 0-1.2-1.1 1.3 1.3 0 0 0-1.2 1.2 1.2 1.2 0 0 0 .4.8 1.1 1.1 0 0 0 .8.3z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/quote.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="170" height="120" viewBox="0 0 17 12"><path d="M5 0H2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a1.7 1.7 0 0 0 1-.3V10a.9.9 0 0 1-1 1H3v1h2a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm0 6H2a.9.9 0 0 1-1-1V2a.9.9 0 0 1 1-1h3a.9.9 0 0 1 1 1v3a.9.9 0 0 1-1 1zm10-6h-3a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a1.7 1.7 0 0 0 1-.3V10a.9.9 0 0 1-1 1h-2v1h2a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm0 6h-3a.9.9 0 0 1-1-1V2a.9.9 0 0 1 1-1h3a.9.9 0 0 1 1 1v3a.9.9 0 0 1-1 1z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/strikethrough.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="195" height="140" viewBox="0 0 19.5 14"><path d="M5.8 6.2H9C7.2 5.7 6.3 5 6.3 3.8a2.2 2.2 0 0 1 .9-1.9 4.3 4.3 0 0 1 2.5-.7 4.3 4.3 0 0 1 2.5.7 3.1 3.1 0 0 1 1.1 1.6.7.7 0 0 0 .6.4h.3a.7.7 0 0 0 .4-.8A3.6 3.6 0 0 0 13.1 1a6.7 6.7 0 0 0-6-.5 3.1 3.1 0 0 0-1.7 1.3 3.6 3.6 0 0 0-.6 2 2.9 2.9 0 0 0 1 2.3zm7 2.5a2 2 0 0 1 .6 1.4 2.4 2.4 0 0 1-1 1.9 3.7 3.7 0 0 1-2.5.7 4.6 4.6 0 0 1-3-.8 3.7 3.7 0 0 1-1.2-2 .6.6 0 0 0-.6-.5h-.2a.7.7 0 0 0-.5.8 4.1 4.1 0 0 0 1.5 2.5A6 6 0 0 0 9.8 14a7.5 7.5 0 0 0 2.6-.5 4.9 4.9 0 0 0 1.8-1.4 4.3 4.3 0 0 0 .6-2.2 5 5 0 0 0-.2-1.2zM.4 7.9a.7.7 0 0 1-.4-.5.4.4 0 0 1 .4-.4h18.8a.4.4 0 0 1 .3.6c0 .1-.1.2-.2.3z"/></svg>

+ 0 - 1
apps/app/public/images/icons/editor/table.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="203" height="160" viewBox="0 0 20.3 16"><path d="M19.1 16H1.2A1.2 1.2 0 0 1 0 14.8V1.2A1.2 1.2 0 0 1 1.2 0h17.9a1.2 1.2 0 0 1 1.2 1.2v13.6a1.2 1.2 0 0 1-1.2 1.2zm-5.2-4.3v3.2h5.3v-3.2zm-6.4 0v3.2h5.3v-3.2zm-6.4 0v3.2h5.3v-3.2zm12.8-4.2v3.2h5.3V7.5zm-6.4 0v3.2h5.3V7.5zm-6.4 0v3.2h5.3V7.5zm12.8-4.3v3.2h5.3V3.2zm-6.4 0v3.2h5.3V3.2zm-6.4 0v3.2h5.3V3.2z"/></svg>

+ 1 - 1
apps/app/src/client/services/side-effects/handsontable-modal-launcher-for-view.ts

@@ -3,8 +3,8 @@ import { useCallback, useEffect } from 'react';
 import type EventEmitter from 'events';
 
 import { Origin } from '@growi/core';
-
 import type { MarkdownTable } from '@growi/editor';
+
 import { extractRemoteRevisionDataFromErrorObj, updatePage as _updatePage } from '~/client/services/update-page';
 import { getMarkdownTableFromLine, replaceMarkdownTableInMarkdown } from '~/components/Page/markdown-table-util-for-view';
 import { useShareLinkId } from '~/stores/context';

+ 3 - 2
apps/app/src/components/PageComment/CommentEditor.tsx

@@ -4,9 +4,10 @@ import React, {
   useMemo,
 } from 'react';
 
+import { GlobalCodeMirrorEditorKey } from '@growi/editor';
 import {
-  CodeMirrorEditorComment, GlobalCodeMirrorEditorKey, useCodeMirrorEditorIsolated, useResolvedThemeForEditor,
-} from '@growi/editor';
+  CodeMirrorEditorComment, useCodeMirrorEditorIsolated, useResolvedThemeForEditor,
+} from '@growi/editor/dist/client';
 import { UserPicture } from '@growi/ui/dist/components';
 import { useTranslation } from 'next-i18next';
 import dynamic from 'next/dynamic';

+ 3 - 2
apps/app/src/components/PageEditor/ConflictDiffModal.tsx

@@ -3,9 +3,10 @@ import React, {
 } from 'react';
 
 import type { IUser } from '@growi/core';
+import { GlobalCodeMirrorEditorKey } from '@growi/editor';
 import {
-  MergeViewer, CodeMirrorEditorDiff, GlobalCodeMirrorEditorKey, useCodeMirrorEditorIsolated,
-} from '@growi/editor';
+  MergeViewer, CodeMirrorEditorDiff, useCodeMirrorEditorIsolated,
+} from '@growi/editor/dist/client';
 import { UserPicture } from '@growi/ui/dist/components';
 import { format } from 'date-fns/format';
 import { useTranslation } from 'next-i18next';

+ 1 - 2
apps/app/src/components/PageEditor/DrawioModal.tsx

@@ -4,8 +4,7 @@ import React, {
   useMemo,
 } from 'react';
 
-import { useCodeMirrorEditorIsolated } from '@growi/editor';
-import { useDrawioModalForEditor } from '@growi/editor/src/stores/use-drawio';
+import { useCodeMirrorEditorIsolated, useDrawioModalForEditor } from '@growi/editor/dist/client';
 import { LoadingSpinner } from '@growi/ui/dist/components';
 import {
   Modal,

+ 1 - 1
apps/app/src/components/PageEditor/HandsontableModal.tsx

@@ -1,7 +1,7 @@
 import React, { useState } from 'react';
 
 import { MarkdownTable } from '@growi/editor';
-import { useHandsontableModalForEditor } from '@growi/editor/src/stores/use-handsontable';
+import { useHandsontableModalForEditor } from '@growi/editor/dist/client';
 import { HotTable } from '@handsontable/react';
 import type Handsontable from 'handsontable';
 import { useTranslation } from 'next-i18next';

+ 2 - 2
apps/app/src/components/PageEditor/LinkEditModal.tsx

@@ -2,8 +2,8 @@ import React, { useEffect, useState, useCallback } from 'react';
 
 import path from 'path';
 
-import { Linker } from '@growi/editor/src/services-internal';
-import { useLinkEditModal } from '@growi/editor/src/stores/use-link-edit-modal';
+import { Linker } from '@growi/editor';
+import { useLinkEditModal } from '@growi/editor/dist/client';
 import { useTranslation } from 'next-i18next';
 import {
   Modal,

+ 3 - 2
apps/app/src/components/PageEditor/PageEditor.tsx

@@ -9,10 +9,11 @@ import nodePath from 'path';
 
 import { type IPageHasId, Origin } from '@growi/core';
 import { pathUtils } from '@growi/core/dist/utils';
+import { GlobalCodeMirrorEditorKey } from '@growi/editor';
 import {
-  CodeMirrorEditorMain, GlobalCodeMirrorEditorKey,
+  CodeMirrorEditorMain,
   useCodeMirrorEditorIsolated, useResolvedThemeForEditor,
-} from '@growi/editor';
+} from '@growi/editor/dist/client';
 import { useRect } from '@growi/ui/dist/utils';
 import detectIndent from 'detect-indent';
 import { useTranslation } from 'next-i18next';

+ 2 - 1
apps/app/src/components/PageEditor/PageEditorReadOnly.tsx

@@ -1,6 +1,7 @@
 import react, { useMemo, useRef } from 'react';
 
-import { CodeMirrorEditorReadOnly, GlobalCodeMirrorEditorKey } from '@growi/editor';
+import { GlobalCodeMirrorEditorKey } from '@growi/editor';
+import { CodeMirrorEditorReadOnly } from '@growi/editor/dist/client';
 import { throttle } from 'throttle-debounce';
 
 import { useShouldExpandContent } from '~/client/services/layout';

+ 2 - 1
apps/app/src/components/PageEditor/ScrollSyncHelper.tsx

@@ -1,6 +1,7 @@
 import { useCallback, type RefObject, useRef } from 'react';
 
-import { useCodeMirrorEditorIsolated, type GlobalCodeMirrorEditorKey } from '@growi/editor';
+import type { GlobalCodeMirrorEditorKey } from '@growi/editor';
+import { useCodeMirrorEditorIsolated } from '@growi/editor/dist/client';
 
 let defaultTop = 0;
 const padding = 5;

+ 2 - 1
apps/app/src/components/PageEditor/conflict.tsx

@@ -2,7 +2,8 @@ import { useCallback, useEffect } from 'react';
 
 import { Origin } from '@growi/core';
 import { useGlobalSocket } from '@growi/core/dist/swr';
-import { GlobalCodeMirrorEditorKey, useCodeMirrorEditorIsolated } from '@growi/editor';
+import { GlobalCodeMirrorEditorKey } from '@growi/editor';
+import { useCodeMirrorEditorIsolated } from '@growi/editor/dist/client';
 import { useTranslation } from 'react-i18next';
 
 import { useUpdateStateAfterSave } from '~/client/services/page-operation';

+ 1 - 1
apps/app/src/components/TemplateModal/TemplateModal.tsx

@@ -5,7 +5,7 @@ import React, {
 import assert from 'assert';
 
 import type { Lang } from '@growi/core';
-import { useTemplateModal, type TemplateModalStatus } from '@growi/editor/src/stores/use-template-modal';
+import { useTemplateModal, type TemplateModalStatus } from '@growi/editor/dist/client';
 import {
   extractSupportedLocales, getLocalizedTemplate, type TemplateSummary,
 } from '@growi/pluginkit/dist/v4';

+ 21 - 28
apps/app/src/styles/_editor.scss

@@ -43,34 +43,27 @@
       border-right: 1px solid transparent;
 
       // add icon on cursor
-      .markdown-table-activated,
-      .markdown-link-activated {
-        .CodeMirror-cursor {
-          &::after {
-            position: relative;
-            top: -1.1em;
-            left: 0.3em;
-            display: block;
-            width: 1em;
-            height: 1em;
-            content: ' ';
-            background-repeat: no-repeat;
-            background-size: 1em;
-          }
-        }
-      }
-
-      .markdown-table-activated .CodeMirror-cursor {
-        &::after {
-          background-image: url('/images/icons/editor/table.svg');
-        }
-      }
-
-      .markdown-link-activated .CodeMirror-cursor {
-        &::after {
-          background-image: url('/images/icons/editor/link.svg');
-        }
-      }
+      // .markdown-link-activated {
+      //   .CodeMirror-cursor {
+      //     &::after {
+      //       position: relative;
+      //       top: -1.1em;
+      //       left: 0.3em;
+      //       display: block;
+      //       width: 1em;
+      //       height: 1em;
+      //       content: ' ';
+      //       background-repeat: no-repeat;
+      //       background-size: 1em;
+      //     }
+      //   }
+      // }
+
+      // .markdown-link-activated .CodeMirror-cursor {
+      //   &::after {
+      //     background-image: url('/images/icons/editor/link.svg');
+      //   }
+      // }
 
     }
 

+ 5 - 1
packages/editor/src/components/CodeMirrorEditor/CodeMirrorEditor.module.scss → packages/editor/src/client/components/CodeMirrorEditor/CodeMirrorEditor.module.scss

@@ -154,7 +154,11 @@
 
   .markdown-table-activated .cm-cursor.cm-cursor-primary {
     &:after {
-      background-image: url(../../../svg/table.svg);
+      font-family: var(--grw-font-family-material-symbols-outlined);
+      font-size: 1.5em;
+      content: 'table_chart';
+      opacity: 0.7;
+      transform: translateY(-1.2em)
     }
   }
 }

+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/CodeMirrorEditor.tsx → packages/editor/src/client/components/CodeMirrorEditor/CodeMirrorEditor.tsx

@@ -10,7 +10,7 @@ import {
 import { AcceptedUploadFileType } from '@growi/core';
 import type { ReactCodeMirrorProps } from '@uiw/react-codemirror';
 
-import type { EditorSettings, GlobalCodeMirrorEditorKey } from '../../consts';
+import type { EditorSettings, GlobalCodeMirrorEditorKey } from '../../../consts';
 import {
   useFileDropzone, FileDropzoneOverlay,
   adjustPasteData, getStrFromBol, useShowTableIcon,

+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/AttachmentsDropdownItem.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/AttachmentsDropdownItem.tsx


+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/AttachmentsDropup.module.scss → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/AttachmentsDropup.module.scss


+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/Toolbar/AttachmentsDropup.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/AttachmentsDropup.tsx

@@ -8,7 +8,7 @@ import {
   Dropdown,
 } from 'reactstrap';
 
-import type { GlobalCodeMirrorEditorKey } from '../../../consts';
+import type { GlobalCodeMirrorEditorKey } from '../../../../consts';
 
 import { AttachmentsDropdownItem } from './AttachmentsDropdownItem';
 import { LinkEditButton } from './LinkEditButton';

+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/DiagramButton.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/DiagramButton.tsx


+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/EmojiButton.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/EmojiButton.tsx


+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/Toolbar/LinkEditButton.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/LinkEditButton.tsx

@@ -2,7 +2,7 @@ import { useCallback } from 'react';
 
 import { DropdownItem } from 'reactstrap';
 
-import type { GlobalCodeMirrorEditorKey } from '../../../consts';
+import type { GlobalCodeMirrorEditorKey } from '../../../../consts';
 import { getMarkdownLink, replaceFocusedMarkdownLinkWithEditor } from '../../../services-internal';
 import { useCodeMirrorEditorIsolated } from '../../../stores';
 import { useLinkEditModal } from '../../../stores/use-link-edit-modal';

+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/TableButton.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TableButton.tsx


+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/TemplateButton.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TemplateButton.tsx


+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/TextFormatTools.module.scss → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TextFormatTools.module.scss


+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/Toolbar/TextFormatTools.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/TextFormatTools.tsx

@@ -2,7 +2,7 @@ import { useCallback, useState } from 'react';
 
 import { Collapse } from 'reactstrap';
 
-import type { GlobalCodeMirrorEditorKey } from '../../../consts';
+import type { GlobalCodeMirrorEditorKey } from '../../../../consts';
 import { useCodeMirrorEditorIsolated } from '../../../stores';
 
 import styles from './TextFormatTools.module.scss';

+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/Toolbar.module.scss → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/Toolbar.module.scss


+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/Toolbar/Toolbar.tsx → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/Toolbar.tsx

@@ -2,7 +2,7 @@ import { memo } from 'react';
 
 import type { AcceptedUploadFileType } from '@growi/core';
 
-import type { GlobalCodeMirrorEditorKey } from '../../../consts';
+import type { GlobalCodeMirrorEditorKey } from '../../../../consts';
 
 import { AttachmentsDropup } from './AttachmentsDropup';
 import { DiagramButton } from './DiagramButton';

+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/index.ts → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/index.ts


+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/scss/toolbar-button.scss → packages/editor/src/client/components/CodeMirrorEditor/Toolbar/scss/toolbar-button.scss


+ 0 - 0
packages/editor/src/components/CodeMirrorEditor/index.ts → packages/editor/src/client/components/CodeMirrorEditor/index.ts


+ 0 - 0
packages/editor/src/components/CodeMirrorEditorComment.tsx → packages/editor/src/client/components/CodeMirrorEditorComment.tsx


+ 1 - 1
packages/editor/src/components/CodeMirrorEditorDiff.tsx → packages/editor/src/client/components/CodeMirrorEditorDiff.tsx

@@ -4,7 +4,7 @@ import type { Extension } from '@codemirror/state';
 import { placeholder, scrollPastEnd } from '@codemirror/view';
 import type { ReactCodeMirrorProps } from '@uiw/react-codemirror';
 
-import { GlobalCodeMirrorEditorKey } from '../consts';
+import { GlobalCodeMirrorEditorKey } from '../../consts';
 import { useCodeMirrorEditorIsolated, useDefaultExtensions, useEditorSettings } from '../stores';
 
 const additionalExtensions: Extension[] = [

+ 1 - 1
packages/editor/src/components/CodeMirrorEditorMain.tsx → packages/editor/src/client/components/CodeMirrorEditorMain.tsx

@@ -4,7 +4,7 @@ import { type Extension } from '@codemirror/state';
 import { keymap, scrollPastEnd } from '@codemirror/view';
 import type { IUserHasId } from '@growi/core/dist/interfaces';
 
-import { GlobalCodeMirrorEditorKey } from '../consts';
+import { GlobalCodeMirrorEditorKey } from '../../consts';
 import { setDataLine } from '../services-internal';
 import { useCodeMirrorEditorIsolated, useCollaborativeEditorMode } from '../stores';
 

+ 1 - 1
packages/editor/src/components/CodeMirrorEditorReadOnly.tsx → packages/editor/src/client/components/CodeMirrorEditorReadOnly.tsx

@@ -2,7 +2,7 @@ import { useEffect } from 'react';
 
 import { type Extension, EditorState } from '@codemirror/state';
 
-import { GlobalCodeMirrorEditorKey } from '../consts';
+import { GlobalCodeMirrorEditorKey } from '../../consts';
 import { setDataLine } from '../services-internal';
 import { useCodeMirrorEditorIsolated } from '../stores';
 

+ 0 - 0
packages/editor/src/components/MergeViewer.tsx → packages/editor/src/client/components/MergeViewer.tsx


+ 0 - 0
packages/editor/src/components/index.ts → packages/editor/src/client/components/index.ts


+ 2 - 2
packages/editor/src/components/playground/Playground.tsx → packages/editor/src/client/components/playground/Playground.tsx

@@ -5,8 +5,8 @@ import {
 import { AcceptedUploadFileType } from '@growi/core';
 import { toast } from 'react-toastify';
 
-import { GlobalCodeMirrorEditorKey } from '../../consts';
-import type { EditorSettings, EditorTheme, KeyMapMode } from '../../consts';
+import { GlobalCodeMirrorEditorKey } from '../../../consts';
+import type { EditorSettings, EditorTheme, KeyMapMode } from '../../../consts';
 import { useCodeMirrorEditorIsolated } from '../../stores';
 import { CodeMirrorEditorMain } from '../CodeMirrorEditorMain';
 

+ 2 - 2
packages/editor/src/components/playground/PlaygroundController.tsx → packages/editor/src/client/components/playground/PlaygroundController.tsx

@@ -2,11 +2,11 @@ import { useCallback } from 'react';
 
 import { useForm } from 'react-hook-form';
 
-import type { EditorTheme, KeyMapMode } from '../../consts';
+import type { EditorTheme, KeyMapMode } from '../../../consts';
 import {
   GlobalCodeMirrorEditorKey,
   AllEditorTheme, AllKeyMap,
-} from '../../consts';
+} from '../../../consts';
 import { useCodeMirrorEditorIsolated } from '../../stores';
 
 export const InitEditorValueRow = (): JSX.Element => {

+ 0 - 0
packages/editor/src/components/playground/Preview.tsx → packages/editor/src/client/components/playground/Preview.tsx


+ 0 - 0
packages/editor/src/components/playground/index.ts → packages/editor/src/client/components/playground/index.ts


+ 3 - 0
packages/editor/src/client/index.ts

@@ -0,0 +1,3 @@
+export * from './components';
+export * from './services';
+export * from './stores';

+ 0 - 0
packages/editor/src/services-internal/editor-theme/.eslintrc.cjs → packages/editor/src/client/services-internal/editor-theme/.eslintrc.cjs


+ 0 - 0
packages/editor/src/services-internal/editor-theme/ayu.ts → packages/editor/src/client/services-internal/editor-theme/ayu.ts


+ 0 - 0
packages/editor/src/services-internal/editor-theme/cobalt.ts → packages/editor/src/client/services-internal/editor-theme/cobalt.ts


+ 0 - 0
packages/editor/src/services-internal/editor-theme/eclipse.ts → packages/editor/src/client/services-internal/editor-theme/eclipse.ts


+ 1 - 1
packages/editor/src/services-internal/editor-theme/index.ts → packages/editor/src/client/services-internal/editor-theme/index.ts

@@ -1,6 +1,6 @@
 import type { Extension } from '@codemirror/state';
 
-import type { EditorTheme } from '../../consts';
+import type { EditorTheme } from '../../../consts';
 
 export const getEditorTheme = async(themeName?: EditorTheme): Promise<Extension> => {
   switch (themeName) {

+ 0 - 0
packages/editor/src/services-internal/editor-theme/material.ts → packages/editor/src/client/services-internal/editor-theme/material.ts


+ 0 - 0
packages/editor/src/services-internal/editor-theme/nord.ts → packages/editor/src/client/services-internal/editor-theme/nord.ts


+ 0 - 0
packages/editor/src/services-internal/editor-theme/original-dark.ts → packages/editor/src/client/services-internal/editor-theme/original-dark.ts


+ 0 - 0
packages/editor/src/services-internal/editor-theme/original-light.ts → packages/editor/src/client/services-internal/editor-theme/original-light.ts


+ 0 - 0
packages/editor/src/services-internal/editor-theme/rose-pine.ts → packages/editor/src/client/services-internal/editor-theme/rose-pine.ts


+ 0 - 0
packages/editor/src/services-internal/extensions/emojiAutocompletionSettings.ts → packages/editor/src/client/services-internal/extensions/emojiAutocompletionSettings.ts


+ 0 - 0
packages/editor/src/services-internal/extensions/index.ts → packages/editor/src/client/services-internal/extensions/index.ts


+ 0 - 0
packages/editor/src/services-internal/extensions/setDataLine.ts → packages/editor/src/client/services-internal/extensions/setDataLine.ts


+ 0 - 0
packages/editor/src/services-internal/file-dropzone/index.ts → packages/editor/src/client/services-internal/file-dropzone/index.ts


+ 0 - 0
packages/editor/src/services-internal/file-dropzone/use-file-dropzone/FileDropzoneOverlay.tsx → packages/editor/src/client/services-internal/file-dropzone/use-file-dropzone/FileDropzoneOverlay.tsx


+ 0 - 0
packages/editor/src/services-internal/file-dropzone/use-file-dropzone/use-file-dropzone.ts → packages/editor/src/client/services-internal/file-dropzone/use-file-dropzone/use-file-dropzone.ts


+ 0 - 0
packages/editor/src/services-internal/index.ts → packages/editor/src/client/services-internal/index.ts


+ 1 - 1
packages/editor/src/services-internal/keymaps/index.ts → packages/editor/src/client/services-internal/keymaps/index.ts

@@ -1,7 +1,7 @@
 import type { Extension } from '@codemirror/state';
 import { keymap } from '@codemirror/view';
 
-import type { KeyMapMode } from '../../consts';
+import type { KeyMapMode } from '../../../consts';
 
 
 export const getKeymap = async(keyMapName?: KeyMapMode, onSave?: () => void): Promise<Extension> => {

+ 0 - 0
packages/editor/src/services-internal/keymaps/vim.ts → packages/editor/src/client/services-internal/keymaps/vim.ts


+ 0 - 1
packages/editor/src/services-internal/link-util/index.ts → packages/editor/src/client/services-internal/link-util/index.ts

@@ -1,2 +1 @@
-export * from './Linker';
 export * from './markdown-link-util';

+ 1 - 1
packages/editor/src/services-internal/link-util/markdown-link-util.ts → packages/editor/src/client/services-internal/link-util/markdown-link-util.ts

@@ -1,6 +1,6 @@
 import type { EditorView } from '@codemirror/view';
 
-import { Linker } from './Linker';
+import { Linker } from '../../../models';
 
 const curPos = (editor: EditorView) => {
   return editor.state.selection.main.head;

+ 0 - 0
packages/editor/src/services-internal/list-util/index.ts → packages/editor/src/client/services-internal/list-util/index.ts


+ 0 - 0
packages/editor/src/services-internal/list-util/insert-newline-continue-markup.ts → packages/editor/src/client/services-internal/list-util/insert-newline-continue-markup.ts


+ 0 - 0
packages/editor/src/services-internal/paste-util/index.ts → packages/editor/src/client/services-internal/paste-util/index.ts


+ 0 - 0
packages/editor/src/services-internal/paste-util/paste-markdown-util.ts → packages/editor/src/client/services-internal/paste-util/paste-markdown-util.ts


+ 0 - 0
packages/editor/src/services-internal/table/index.ts → packages/editor/src/client/services-internal/table/index.ts


+ 1 - 1
packages/editor/src/services-internal/table/insert-new-row-to-table-markdown.ts → packages/editor/src/client/services-internal/table/insert-new-row-to-table-markdown.ts

@@ -1,6 +1,6 @@
 import type { EditorView } from '@codemirror/view';
 
-import { MarkdownTable } from '../../models';
+import { MarkdownTable } from '../../../models';
 
 // https://regex101.com/r/7BN2fR/10
 const linePartOfTableRE = /^([^\r\n|]*)\|(([^\r\n|]*\|)+)$/;

+ 0 - 0
packages/editor/src/services-internal/table/use-show-table-icon.ts → packages/editor/src/client/services-internal/table/use-show-table-icon.ts


+ 0 - 0
packages/editor/src/services/index.ts → packages/editor/src/client/services/index.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/index.ts → packages/editor/src/client/services/use-codemirror-editor/index.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/use-codemirror-editor.ts → packages/editor/src/client/services/use-codemirror-editor/use-codemirror-editor.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/append-extensions.ts → packages/editor/src/client/services/use-codemirror-editor/utils/append-extensions.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/focus.ts → packages/editor/src/client/services/use-codemirror-editor/utils/focus.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/fold-drawio.ts → packages/editor/src/client/services/use-codemirror-editor/utils/fold-drawio.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/get-doc.ts → packages/editor/src/client/services/use-codemirror-editor/utils/get-doc.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/init-doc.ts → packages/editor/src/client/services/use-codemirror-editor/utils/init-doc.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/insert-markdown-elements.ts → packages/editor/src/client/services/use-codemirror-editor/utils/insert-markdown-elements.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/insert-prefix.ts → packages/editor/src/client/services/use-codemirror-editor/utils/insert-prefix.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/insert-text.ts → packages/editor/src/client/services/use-codemirror-editor/utils/insert-text.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/replace-text.ts → packages/editor/src/client/services/use-codemirror-editor/utils/replace-text.ts


+ 0 - 0
packages/editor/src/services/use-codemirror-editor/utils/set-caret-line.ts → packages/editor/src/client/services/use-codemirror-editor/utils/set-caret-line.ts


+ 0 - 0
packages/editor/src/stores/codemirror-editor.ts → packages/editor/src/client/stores/codemirror-editor.ts


+ 6 - 2
packages/editor/src/stores/index.ts → packages/editor/src/client/stores/index.ts

@@ -1,5 +1,9 @@
 export * from './codemirror-editor';
-export * from './use-resolved-theme';
 export * from './use-collaborative-editor-mode';
-export * from './use-editor-settings';
 export * from './use-default-extensions';
+export * from './use-drawio';
+export * from './use-editor-settings';
+export * from './use-handsontable';
+export * from './use-link-edit-modal';
+export * from './use-resolved-theme';
+export * from './use-template-modal';

+ 1 - 1
packages/editor/src/stores/use-collaborative-editor-mode.ts → packages/editor/src/client/stores/use-collaborative-editor-mode.ts

@@ -7,7 +7,7 @@ import { yCollab, yUndoManagerKeymap } from 'y-codemirror.next';
 import { SocketIOProvider } from 'y-socket.io';
 import * as Y from 'yjs';
 
-import { userColor } from '../consts';
+import { userColor } from '../../consts';
 import type { UseCodeMirrorEditor } from '../services';
 
 type UserLocalState = {

+ 0 - 0
packages/editor/src/stores/use-default-extensions.ts → packages/editor/src/client/stores/use-default-extensions.ts


+ 0 - 0
packages/editor/src/stores/use-drawio.ts → packages/editor/src/client/stores/use-drawio.ts


+ 1 - 1
packages/editor/src/stores/use-editor-settings.ts → packages/editor/src/client/stores/use-editor-settings.ts

@@ -6,7 +6,7 @@ import {
   keymap, type Command, highlightActiveLine, highlightActiveLineGutter,
 } from '@codemirror/view';
 
-import type { EditorSettings, KeyMapMode, EditorTheme } from '../consts';
+import type { EditorSettings, KeyMapMode, EditorTheme } from '../../consts';
 import type { UseCodeMirrorEditor } from '../services';
 import {
   getEditorTheme, getKeymap, insertNewlineContinueMarkup, insertNewRowToMarkdownTable, isInTable,

+ 0 - 0
packages/editor/src/stores/use-handsontable.ts → packages/editor/src/client/stores/use-handsontable.ts


+ 1 - 1
packages/editor/src/stores/use-link-edit-modal.ts → packages/editor/src/client/stores/use-link-edit-modal.ts

@@ -1,7 +1,7 @@
 import { useSWRStatic } from '@growi/core/dist/swr';
 import type { SWRResponse } from 'swr';
 
-import type { Linker } from '../services-internal';
+import type { Linker } from '../../models';
 
 type LinkEditModalStatus = {
   isOpened: boolean,

Некоторые файлы не были показаны из-за большого количества измененных файлов