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
Bot releases are visible (Hide)
Published by big-camel over 2 years ago
Published by big-camel over 2 years ago
card
editable card lazy loading will be wrongly written to historytoolbar
optimizes the mobile toolbar #188plugin-table
table contents lost after copying in read-only statePublished by big-camel over 2 years ago
getText
can get the text in the current document through engine.getText(). If you need the text in the card, you can listen to the parser:text event for parsingparser
filters tabs such as newlines between nodesinput
safari browser, when inputting Chinese in front of the list, there will be extra line breaks #187card
Select all documents and press the delete key, if the card is at the end, the card will not be deletedselect
sets the mark style when the Range has not changed, the toolbar state is not displayed correctlyPublished by big-camel over 2 years ago
mention
prevents events from bubbling when selected with the enter keypaste
pastes missing part of mark style information and filters out some invalid tabscodeblock
parses markdown, there will be an extra line break at the endPublished by big-camel over 2 years ago
table
uses a delay to display a draggable blue line when the mouse moves over the tablemention
Entering the @ symbol in a card that is not editable will execute the popup of the mention
plugintable
pulling the cell size does not automatically adjust the width of the tablePublished by big-camel over 2 years ago
link
adds enableToolbar & onLinkClick options https://editor.aomao.com/zh-CN/plugin/plugin-link#enabletoolbar
math
exports MathOptions typemention
exports MentionOptions typeot
co-cursor background drawn not removed after collaborator leavesquote
quote block cannot be deleted after it is selectedot-server
deletion of multiple nested nodes cannot be synchronizedPublished by big-camel over 2 years ago
markdown
pressing enter also performs markdown checksot
insert text to generate op occasional index errortable
Can't paste new table on both sides of tableblock
The block-level node paste position is wronglist
list cannot be inserted at title node positionPublished by big-camel over 2 years ago
ot-server
optimized collaboration serverot
only redraws the collaboration cursor for the collaborator who is currently modifying the content, reducing the amount of computationcard
editable card will no longer perform asynchronous rendering in the collaborative process, but can be executed in non-cooperativetable
has multiple merged cells and the selected position is not accuratefile
optionsvideo
certain operations will cause a cooperative infinite loop to update the card valuePublished by big-camel over 2 years ago
ot
: cause synergy because Array.at does not support most lower version browsers Error, unable to sync. #179Published by big-camel over 2 years ago
link
: text link not resolved in pastePublished by big-camel over 2 years ago
ot
optimizes collaborative editing performanceot-server
if (action === 'broadcast') {
if (data.type === 'select') {
if ('remove' in data.body) {
const index = doc.selection.findIndex(
(selection) =>
selection.uuid === data.body.uuid,
);
if (index > -1) {
doc.selection.splice(index, 1, data.body);
} else {
doc.selection.push(data.body);
}
}
}
doc.broadcast(
'broadcast',
data,
(m) => m.uuid !== uuid,
);
}
change
adjust the timing of the select cursor change eventlink
Insert character link duplicates with markdown conversiongetSelectionData
unable to get data inside editable nodemarkrange
cannot comment #178
Published by big-camel over 2 years ago
ops
to ensure the uniqueness of data updatesmarkdown
table
: cannot paste after copying multiple cellscard
: The editor change event is not triggered after pressing the delete key in the editable areavideo
: collaborative editing status, some parameters are not synchronizedPublished by big-camel over 2 years ago
Published by big-camel over 2 years ago
paste:markdown-before
paste:markdown
paste:markdown-after
paste:markdown-check
eventsmarkdown-it
markdown-it-token
event https://editor.aomao.com/docs/faq#disablecustomize-markdown
defaultSize
will add default font size style to .am-engine nodePublished by big-camel over 2 years ago
Full Changelog: https://github.com/red-axe/am-editor/compare/@aomao/[email protected]...@aomao/[email protected]
Published by big-camel over 2 years ago
Published by big-camel over 2 years ago
Published by big-camel over 2 years ago
Published by big-camel over 2 years ago
Published by big-camel over 2 years ago