0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 23:40:35 -05:00
Squire/build
Nicholas Wylie bb3cd05c64 Move cursor outside of <a> when inserting HTML
When links are pasted into the editor the cursor ends up at the
end of the text node inside the parent <a> element. Any text
entered is then appended to the end of the link text. Chrome
automatically moves the cursor after the end of <a> elements when
additional text is inserted, so this change enforces the same
behaviour in other browsers.

Resolves LP 55607264
https://app.liquidplanner.com/space/14822/projects/show/55607264
2020-06-04 15:02:03 +10:00
..
document.html Require <html data-squireinit="true"> to auto-instantiate. 2015-07-06 12:19:21 +07:00
squire-raw.js Move cursor outside of <a> when inserting HTML 2020-06-04 15:02:03 +10:00
squire.js Move cursor outside of <a> when inserting HTML 2020-06-04 15:02:03 +10:00