Commit 8cc247c
feature: Column based layouts (#1154)
* extract updateBlockCommand
* Extracted remaining commands
* extract keyboard shortcuts
* move directory
* remove createblockcommand
* Added merge/split tests
* Updated snapshots
* Added update block tests and unified test setup
* Added test cases for reverting props
* Added additional test cases for changing content type
* remove "nested" insert option
* Split remaining commands & cleaned up
* Added `getNearestBlockContainerPos`
* Refactored `getBlockInfoFromPos`
* Rewrote `splitBlockCommand`
* Added text cursor position tests
* Fixed lint issue
* fix lint
* Fixed `splitBlock` selection
* Small fix
* Added unit tests to check selection setting
* simplify splitblocks
* Fixed selection in `splitBlock` tests
* wip: deprecate getBlockInfoFromPos
* finish cleanup
* Fixed `mergeBlocks` edge cases
* fix build
* clean nodeconversions
* update prosemirror-model
* basics wip
* Implemented PR feedback
* basics working
* fix tabs
* Finished review and remaining changes
* separate package
* Fixed bug in `insertOrUpdateBlock`
* Removed log
* update architecture
* fix build
* wip, play with transition style of sidemenu
* show sidemenu for blocks inside columns
* fix sidemenu
* small fixes
* Tiny changes
* Fixed merge/delete behaviour on Backspace
* cherry pick squash commit
Refactor: clean blockcontainer (#1137)
* extract updateBlockCommand
* Extracted remaining commands
* extract keyboard shortcuts
* move directory
* remove createblockcommand
* Added merge/split tests
* Updated snapshots
* Added update block tests and unified test setup
* Added test cases for reverting props
* Added additional test cases for changing content type
* remove "nested" insert option
* Split remaining commands & cleaned up
* Added `getNearestBlockContainerPos`
* Refactored `getBlockInfoFromPos`
* Rewrote `splitBlockCommand`
* Added text cursor position tests
* Fixed lint issue
* fix lint
* Fixed `splitBlock` selection
* Small fix
* Added unit tests to check selection setting
* simplify splitblocks
* Fixed selection in `splitBlock` tests
* wip: deprecate getBlockInfoFromPos
* finish cleanup
* Fixed `mergeBlocks` edge cases
* fix build
* clean nodeconversions
* Implemented PR feedback
* Finished review and remaining changes
* Fixed bug in `insertOrUpdateBlock`
* Removed log
* Tiny changes
* Fixed merge/delete behaviour on Backspace
---------
Co-authored-by: matthewlipski <matthewlipski@gmail.com>
Co-authored-by: Matthew Lipski <50169049+matthewlipski@users.noreply.github.com>
* update prosemirror-model
* basics wip
* basics working
* fix tabs
* separate package
* update architecture
* fix build
* wip, play with transition style of sidemenu
* show sidemenu for blocks inside columns
* fix sidemenu
* small fixes
* cherry pick squash commit
Refactor: clean blockcontainer (#1137)
* extract updateBlockCommand
* Extracted remaining commands
* extract keyboard shortcuts
* move directory
* remove createblockcommand
* Added merge/split tests
* Updated snapshots
* Added update block tests and unified test setup
* Added test cases for reverting props
* Added additional test cases for changing content type
* remove "nested" insert option
* Split remaining commands & cleaned up
* Added `getNearestBlockContainerPos`
* Refactored `getBlockInfoFromPos`
* Rewrote `splitBlockCommand`
* Added text cursor position tests
* Fixed lint issue
* fix lint
* Fixed `splitBlock` selection
* Small fix
* Added unit tests to check selection setting
* simplify splitblocks
* Fixed selection in `splitBlock` tests
* wip: deprecate getBlockInfoFromPos
* finish cleanup
* Fixed `mergeBlocks` edge cases
* fix build
* clean nodeconversions
* Implemented PR feedback
* Finished review and remaining changes
* Fixed bug in `insertOrUpdateBlock`
* Removed log
* Tiny changes
* Fixed merge/delete behaviour on Backspace
---------
Co-authored-by: matthewlipski <matthewlipski@gmail.com>
Co-authored-by: Matthew Lipski <50169049+matthewlipski@users.noreply.github.com>
* fix
* remove blockAtDocStart and clean mergeBlocks a bit further
* implement multi-column backspace
* feat: Multi-column resizing (#1186)
* Added extension for resizing columns
* small resize fixes
* prevent columns from pushing document width
* Implemented PR feedback
* Fixed remaining UX issues
* TODO fixes in column node
* Updated emoji test screenshots
---------
Co-authored-by: yousefed <yousefdardiry@gmail.com>
* Implemented PR feedback
* Implemented PR feedback
* Fixed column list styles and `nestBlock`
* Added column slash menu items
* Added unit tests for multi column
* Added unit tests for node & html conversions
* Updated snapshots
* fix internal serializer for bnBlock types
* remove md from license
* fix trailing node
* fix bug
* switch to createChecked and fix multicolumn tests
* fix external html for multi-column
* fix text/html on clipboard
* improve copy / paste
* remove unused snapshots and skip one test
* fix text cursor
* Fixed internationalization
* remove scrollbar
* fix dictionary as any
* combineByGroup
* clean examples
* Fixed slash menu item cursor positioning
* move package
* Fixed type
* Updated docs
* remove as any
---------
Co-authored-by: matthewlipski <matthewlipski@gmail.com>
Co-authored-by: Matthew Lipski <50169049+matthewlipski@users.noreply.github.com>1 parent ba19e55 commit 8cc247c
File tree
183 files changed
+7225
-918
lines changed- docs
- components/pages/landing/hero
- pages/docs/editor-basics
- examples
- 01-basic
- 03-all-blocks
- 03-multi-column
- 04-all-blocks
- 05-removing-default-blocks
- 06-block-manipulation
- 07-selection-blocks
- 08-ariakit
- 09-shadcn
- 10-localization
- 03-ui-components/13-custom-ui
- packages
- ariakit
- core
- src
- api
- blockManipulation
- commands
- insertBlocks
- mergeBlocks
- moveBlock
- nestBlock
- removeBlocks
- splitBlock
- updateBlock
- selections/textCursorPosition
- clipboard
- fromClipboard
- toClipboard
- exporters/html/util
- nodeConversions
- blocks
- HeadingBlockContent
- ListItemBlockContent
- BulletListItemBlockContent
- CheckListItemBlockContent
- NumberedListItemBlockContent
- ParagraphBlockContent
- editor
- extensions
- KeyboardShortcuts
- NodeSelectionKeyboard
- SideMenu
- SuggestionMenu
- TableHandles
- TrailingNode
- i18n/locales
- pm-nodes
- schema/blocks
- util
- mantine
- react
- src/components/SideMenu/DefaultButtons
- shadcn
- xl-multi-column
- src
- blocks
- Columns
- extensions
- ColumnResize
- DropCursor
- SuggestionMenu
- i18n
- locales
- pm-nodes
- test
- commands
- __snapshots__
- conversions
- __snapshots__
- multi-column/undefined
- playground
- src
- tests/src/end-to-end
- ariakit/ariakit.test.ts-snapshots
- shadcn/shadcn.test.ts-snapshots
- theming/theming.test.ts-snapshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
183 files changed
+7225
-918
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| |||
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
| 77 | + | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments