am-editor

A rich text editor that supports collaborative editing and allows for the free use of front-end common libraries such as React and Vue to extend and define plugins.

MIT License

Stars
919
Committers
22

Bot releases are visible (Hide)

am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Fiexd

  • The enter key did not trigger the select event
  • Deleting before the inline card at the beginning of a line causes the card structure to be wrong
  • Increase the fault tolerance of the card's unique id
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • optimize placeholder display timing

Fiexd

  • data-element=ui node is not correctly filtered when submitting ops in collaborative interaction
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • plugin-math set the selected style

Fiexd

  • In some cases, the block node is missing and the br node cannot be selected by the cursor
  • setValue cannot set an empty string
  • getValue cannot return the cursor position
  • plugin-table cannot load normally when merging a row
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • codeblock When the mouse clicks on the blank space, the focus is to the editing area

Fiexd

  • Deleting indentation is invalid in multi-level blocks
  • Add br under the block node whose initial value of collaborative editing is empty, otherwise it will cause index error
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Fiexd

  • Format brushing does not take effect in some cases
  • Pressing the delete key after heading will not merge,
  • The change will not be triggered after entering Chinese in the card
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • Optimized the timing of handshake for collaborative editing ws connection
  • Reduce codeblock delay save time by 200ms -> 50ms
  • Reset the math plugin to get the parent node object with the maximum width

Fiexd

  • Cannot copy cards individually
  • After formatting the title, the node name becomes undefined
  • Copying and pasting the thead and tfoot form will mess up the model
  • Filter style and script tags when pasting
  • Pasting the picture at the end of the picture does not respond
  • After pressing Enter after the inline label, clicking the inline node again will make the cursor wrong
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • fontsize automatically obtains the editor root node size as the default value
  • codeblock paste and add pre node analysis
  • paste optimize the paste speed
  • copy Remove the zero-width characters before and after the card is copied
  • paste Optimize the markdown detection mechanism when copying and pasting

Fiexd

  • unorderedlist Markdown regular expression judgment error when pasting
  • range key error when marking selection
  • paste The dom structure is wrong when pasting into the list
  • undo cannot be undone correctly after inserting a card in a text paragraph
  • replaceAll is not compatible ie use replace to replace

Docs

am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • removeformat The format is cleared in the order of mark -> inline -> block each time it is executed. After clearing, the next level of cleanup will be stopped. If the next level is not found, the next level will be cleaned up.

Fiexd

  • inline the cursor selection is incorrect after unwrap
  • status input box cannot be edited or deleted
  • link Select the current link and execute the link plug-in command button again. The command button cannot be removed
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • tasklist checkbox converted to html style
  • removeformat can clean up block plugins

Fiexd

  • list ordered list, unordered list plug-in cannot be formatted
  • table selects the last row of the table, inserting a column to the right has no effect
  • table After deleting a column of the table, the scroll bar cannot be restored
  • codeblock codeMirror loading error
  • image Drag and drop multiple images to upload continuously, the insertion position is wrong
  • card After inserting the Status, Math, File, Video, Mention plug-in, it will no longer be displayed as a normal card when using setHtml to echo
  • paste After pasting, it always prompts whether you need to convert markdown
am-editor - @aomao/[email protected]

Published by big-camel about 3 years ago

Feature

  • After the horizontal line of the table is scrolled, the position of the highlighted area is deviated
  • Optimize the card asynchronous rendering process
  • Optimize the setValue setHtml setJsonValue method, remove the enableAsync triggerOT configuration option, and always render cards asynchronously by default
  • Optimize the collaborative process, and the collaborative data will be persisted to MongoDB
  • Add getJsonValue api
  • Optimize the paste markdown detection process
  • link plugin adds onConfirm option

Fiexd

  • The position of adding rows below the table is incorrect
  • After pasting the picture, the width and height data is lost

Chore

  • ot-server adds sharedb-mongo database driver