plane/packages/editor/core/src
M. Palanikannan 899771a678
[WEB-434] feat: add support to insert a new empty line on clicking at bottom of the editor (#3856)
* fix: horizontal rule no more causes issues on last node

* fixed the mismatched transaction by using native tiptap stuff

* added support to add new line onclick at bottom if last node is an image

TODO: blockquote at last node

* fix: simplified adding node at end of the document logic

* feat: rewrite entire logic handling all cases

* feat: arrow down and arrow up keys add empty node at top and bottom of doc from first/last row's cells

* feat: added arrow up and down key support to images too

* remove unnecessary console logs

* chore: formatting components

* fix: reduced bottom padding to increase onclick area

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-03-11 20:55:24 +05:30
..
helpers [WEB-438] fix: ai insertion behaviour (#3872) 2024-03-06 20:38:57 +05:30
hooks [WEB-438] fix: ai insertion behaviour (#3872) 2024-03-06 20:38:57 +05:30
lib [WEB-434] feat: add support to insert a new empty line on clicking at bottom of the editor (#3856) 2024-03-11 20:55:24 +05:30
styles [WEB-566] feat: Added text to empty color picker boxes and other fixes (#3867) 2024-03-06 14:29:52 +05:30
types [refactor] Editor code refactoring (#3194) 2023-12-22 18:10:18 +05:30
ui [WEB-434] feat: add support to insert a new empty line on clicking at bottom of the editor (#3856) 2024-03-11 20:55:24 +05:30
index.ts [refactor] Editor code refactoring (#3194) 2023-12-22 18:10:18 +05:30