6 ms·
@1 Did you use the https://github.com/alohaeditor/Aloha-Plugin-Undo https://github.com/alohaeditor/Aloha-Plugin-Undo to test undo? If not you just test the defa
by draftkraft 15y ago
@1 Did you use the https://github.com/alohaeditor/Aloha-Plugin-Undo https://github.com/alohaeditor/Aloha-Plugin-Undo to test undo? If not you just test the default browser implementation which breaks whenever an app modifies the content...
@2 Actually right now this is the default behavior. Converting bolck elements (h1-h6, pre, p) always changes the whole block and does not split the selection. This could be changed in future.
- jules 15y agoI used the Try It page. It does support undo of markup when you do the markup with shortcuts (e.g. ctrl+b), but not when you do it with the menu. By the way, the menu often obscures the content, it is quite irritating at times. Have you considered changing the algorithm for moving it around?