This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git


    from cf7f601c Merge branch 'test' of github.com:apache/answer into test
     add 3000e3ae Fix/translation (#1460)
     add 9ef55ca0 feat(editor): integrate TipTap WYSIWYG editor with Markdown 
support and enhance editor functionalities
     add 762773ce chore: clean up pnpm-lock.yaml by removing unused 
dependencies and updating existing ones
     add 3d437005 refactor(editor): streamline editor component structure and 
enhance command methods
     add 498c1421 feat(editor): rename WYSIWYG editor to Rich editor and 
implement new RichEditor component
     add d87726bd refactor(editor): enhance editor components with base props 
and initialization logic
     add 7a4b57d1 refactor(editor): improve editor component functionality and 
code clarity
     add ffa8dc2b feat(editor): update TipTap dependencies and enhance table 
functionality
     add 1c2c7331 feat(editor): enhance plugin system and improve command 
methods
     add 0bad2c72 chore(dependencies): update TipTap packages to version 3.13.0
     add aa7e19b8 Remove TipTap editor utility files including commands, 
constants, error handling, events, position conversion, and table extension to 
streamline the editor's functionality and reduce code complexity.
     add 78714e83 feat(editor): implement image upload functionality with 
validation and hooks
     add 762e8a73 fix(gitignore): correct node_modules entry and remove 
specific plugin exceptions
     new 9e236f65 Merge remote-tracking branch 'origin/feat/1.7.2/ui' into test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ui/.gitignore                                      |   4 +-
 ui/pnpm-lock.yaml                                  | 371 +++++++++++++++------
 ui/src/components/Editor/EditorContext.ts          |   4 +-
 ui/src/components/Editor/MarkdownEditor.tsx        |  98 ++++++
 ui/src/components/Editor/ToolBars/blockquote.tsx   |  21 +-
 ui/src/components/Editor/ToolBars/bold.tsx         |  10 +-
 ui/src/components/Editor/ToolBars/chart.tsx        | 181 ----------
 ui/src/components/Editor/ToolBars/code.tsx         |  32 +-
 ui/src/components/Editor/ToolBars/file.tsx         |  15 +-
 ui/src/components/Editor/ToolBars/heading.tsx      |  24 +-
 ui/src/components/Editor/ToolBars/hr.tsx           |  11 +-
 ui/src/components/Editor/ToolBars/image.tsx        | 199 ++++-------
 ui/src/components/Editor/ToolBars/indent.tsx       |  15 +-
 ui/src/components/Editor/ToolBars/index.ts         |   2 -
 ui/src/components/Editor/ToolBars/italic.tsx       |  11 +-
 ui/src/components/Editor/ToolBars/link.tsx         |  27 +-
 ui/src/components/Editor/ToolBars/ol.tsx           |  19 +-
 ui/src/components/Editor/ToolBars/outdent.tsx      |  16 +-
 ui/src/components/Editor/ToolBars/table.tsx        |  67 +---
 ui/src/components/Editor/ToolBars/ul.tsx           |  19 +-
 ui/src/components/Editor/hooks/useImageUpload.ts   | 129 +++++++
 ui/src/components/Editor/index.scss                |  36 ++
 ui/src/components/Editor/index.tsx                 | 165 ++++++---
 ui/src/components/Editor/toolItem.tsx              |  42 +--
 ui/src/components/Editor/types.ts                  |  56 +++-
 .../components/Editor/utils/codemirror/adapter.ts  |  59 ++++
 ui/src/components/Editor/utils/codemirror/base.ts  | 110 ++++++
 .../components/Editor/utils/codemirror/commands.ts | 279 ++++++++++++++++
 .../components/Editor/utils/codemirror/events.ts   |  98 ++++++
 ui/src/components/Editor/utils/extension.ts        | 255 --------------
 ui/src/components/Editor/utils/index.ts            |  32 +-
 ui/src/components/PluginRender/index.tsx           | 105 ++++--
 ui/src/pages/Questions/Detail/index.scss           |   9 +-
 ui/src/utils/pluginKit/index.ts                    | 143 +++++++-
 ui/src/utils/pluginKit/interface.ts                |   2 +
 35 files changed, 1627 insertions(+), 1039 deletions(-)
 create mode 100644 ui/src/components/Editor/MarkdownEditor.tsx
 delete mode 100644 ui/src/components/Editor/ToolBars/chart.tsx
 create mode 100644 ui/src/components/Editor/hooks/useImageUpload.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/adapter.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/base.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/commands.ts
 create mode 100644 ui/src/components/Editor/utils/codemirror/events.ts
 delete mode 100644 ui/src/components/Editor/utils/extension.ts

Reply via email to