Releases: red-axe/am-editor
Releases · red-axe/am-editor
@aomao/[email protected]
Refactor
- MutationObserver 产生 ops 的逻辑
- 撤销与重做
@aomao/[email protected]
Fixed
- shift + enter cannot wrap at the end of the paragraph
Feature
- cannot copy the text at the end of a single line of the list
- optimize the card selection state mechanism
- the non-editing state does not enable the mouse scroll of the table plug-in to trigger the scroll bar
plugin-image
does not display the image when the src has not changed, load the placeholder image
@aomao/[email protected]
Fixed
- Fix the accuracy of restoring ops positions from MutationObserver
- Undo, redo, and remote modification do not apply the node index correctly
- The structure is disordered due to pasting
Feature
- Add shortcut keys to copy and paste in the table
- Add multiple editors to copy and paste boundary judgment
- Add data-element=ui attribute to link ui
- Optimize the quote plugin paste parsing
Docs
- Update vue2 documentation
@aomao/[email protected]
Fixed
- Paste cannot access the engine object
- Cards enable
autoSelected=false
and do not perform selection
Feature
math
add shortcut keys
@aomao/[email protected]
Feature
- mention & math multiple asynchronous requests, interrupt all previous requests
- add abort method to request.ajax
Fixed
- setValue setHtml will trigger focus and cause scrolling
Chore:
- change the vue build process
@aomao/[email protected]
Feature
- Added
shift-enter
event interception processing history
optimizes the lock method mechanism in the history recordot
increases the error tolerance of getting index
Fixed
plugin-mark-range
is not synchronized ot after marking- The mark plugin cannot be applied correctly after multiple nesting of
mark
node
after before cannot append the array NodeInterfaceot
increases the error tolerance of getting index
@aomao/[email protected]
Feature
- The style problem after the maximized card is selected
Fixed
mark
range cannot be wrapped in collapsedcard
the onChange event of the editable card cannot be triggered when the card toolbar has an input box- setValue setHtml If there are multiple editors, if the current editor is not focused, the value will be set to another editor
@aomao/[email protected]
Feature
- Update some documents react card plugin example & vue card plugin example
position
follows the floating position of the content height and width
Fiexd
parser
pastes blank lines with mark nodes cannot be displayedengine
setValue cannot generate data-id in some caseschange
deleteContent method may leave a blank line that cannot be selected after deleting
@aomao/[email protected]
Feature
- optimize
zero-width
characters formark
andinline
file-uploader
error handling
Fiexd
- set the serial number
markdown
of anorderedlist
is invalid - deleting a
block
node with an emptymark
cannot deleteblcok
- wrong cursor position when setting
markdown
original painting markdown
does not restore the cursor correctly after undoing the operation- fix the wrong position of the collaborative cursor
@aomao/[email protected]
Feature
- Optimize card selection logic
toolbar
&mention
quickly insert query input box is covered by text
Fiexd
- In some cases
setValue
will add a blank line at the beginning of the document