Elliot DeNolf
5d4ef620b1
chore(release): richtext-lexical/0.1.15 [skip ci]
2023-10-23 13:20:48 -04:00
Alessio Gravili
156eae2551
fix(richtext-lexical): do not update Block node if form data is the same
2023-10-22 00:21:09 +02:00
Elliot DeNolf
01245b07f8
chore(release): richtext-lexical/0.1.14 [skip ci]
2023-10-19 16:14:06 -04:00
Elliot DeNolf
5ecfe3da28
chore(release): richtext-lexical/0.1.13
2023-10-17 13:18:30 -04:00
Elliot DeNolf
cbb0ba1a2c
chore(release): richtext-lexical/0.1.12
2023-10-16 14:15:55 -04:00
Elliot DeNolf
f27cd26575
chore(release): richtext-lexical/0.1.11
2023-10-14 17:35:44 -04:00
Elliot DeNolf
9be34c9599
chore(release): richtext-lexical/0.1.10
2023-10-14 14:38:58 -04:00
James
3a2e78f7f3
chore: add peer deps for richtext packages
2023-10-14 14:34:40 -04:00
Elliot DeNolf
647fe23d1c
chore(release): richtext-lexical/0.1.9
2023-10-14 12:26:28 -04:00
Elliot DeNolf
3c3c93f483
chore(release): richtext-lexical/0.1.8
2023-10-13 16:05:59 -04:00
Elliot DeNolf
81ec435363
chore(release): richtext-lexical/0.1.7
2023-10-13 12:49:08 -04:00
Elliot DeNolf
3446d28602
chore(release): richtext-lexical/0.1.6
2023-10-12 23:38:29 -04:00
Elliot DeNolf
9de3320933
chore(release): richtext-lexical/0.1.5
2023-10-10 12:08:13 -04:00
Elliot DeNolf
aff5fdff8a
chore(release): richtext-lexical@0.1.4
2023-10-09 14:09:17 -04:00
Elliot DeNolf
d75ffa0ea7
chore(release): richtext-lexical@0.1.3
2023-10-09 13:31:39 -04:00
Alessio Gravili
830d9867b6
chore(richtext-lexical): add build:clean script to package.json
2023-10-09 19:27:01 +02:00
Elliot DeNolf
23066aec71
chore(release): richtext-lexical@0.1.2
2023-10-09 09:21:37 -04:00
Elliot DeNolf
71c41dbe03
chore: update main and types to dist
2023-10-09 09:16:46 -04:00
Elliot DeNolf
c54fb304e7
chore(release): richtext-lexical@0.1.1
2023-10-09 08:18:28 -04:00
Elliot DeNolf
ef24f430a2
chore(release): richtext-lexical@0.1.0
2023-10-08 23:57:11 -04:00
Elliot DeNolf
8c097ccaa7
chore(release): richtext-lexical@0.1.0-beta.7
2023-10-08 21:29:36 -04:00
Elliot DeNolf
73f434e394
chore(release): richtext-lexical@0.1.0-beta.6
2023-10-08 20:13:05 -04:00
Elliot DeNolf
190a1ab5a0
chore(release): richtext-lexical@0.1.0-beta.5
2023-10-08 17:39:41 -04:00
Elliot DeNolf
8f2cec2535
chore(release): richtext-lexical@0.1.0-beta.4
2023-10-08 07:42:43 -04:00
Elliot DeNolf
a423c7fd60
chore(release): richtext-lexical@0.1.0-beta.3
2023-10-06 11:01:03 -04:00
Alessio Gravili
272f62f032
Merge pull request #3449 from payloadcms/feat/2.0-lexical-block-validations
...
BREAKING: config (SanitizedConfig) is now a new, mandatory property to be passed into .validate(, options) functions. In order to accommodate that, other functions which may call validate now also have a new, mandatory config property. These are:
* buildStateFromSchema
* addFieldStatePromise
feat: breaking: richtext-lexical: block node validations
2023-10-06 16:56:59 +02:00
Elliot DeNolf
08a114e0e0
chore(release): richtext-lexical@0.1.0-beta.2
2023-10-06 09:27:57 -04:00
Alessio Gravili
fa91d45ae6
chore: richtext-lexical: save block node's collapsed state in preferences instead of node data
2023-10-06 14:30:40 +02:00
Elliot DeNolf
fdcdabd3ed
chore(release): all beta packages
2023-10-02 21:47:32 -04:00
Elliot DeNolf
8ba1274e2f
chore: update clean script for all packages
2023-10-02 21:03:41 -04:00
Elliot DeNolf
dbdd317af7
chore: add clean and prepublishOnly scripts to all packages
2023-10-01 22:14:39 -04:00
James
bb9b4c9fa0
chore: misc fixes
2023-10-01 20:40:30 -04:00
Alessio Gravili
9308c792e1
feat: Lexical richtext editor ( #3359 )
...
* chore: move slate stuff into packages/richtext-slate
* chore: fieldTypes stuff
* chore: fix richtext-slate tsconfig
* chore: add clean:unix command
* chore: fix up things
* chore: undo subpath imports being hoisted up
* chore: fix incorrect imports
* chore: improve AdapterArguments type
* chore: remove unused richTextToHTML and stringifyRichText files
* fix: core-dev scss imports
* chore: fix publishConfig exports for richtext-slate
* chore: adjust joi schema for richtext field
* chore: various fixes
* chore: handle afterRead population in richText adapter
* chore: handle more after-read promise stuff
* chore: fix joi validation
* chore: add richtext adapter to tests
* chore: merge adapter props with field props
* chore: index.tsx => index.ts
* chore: rename `adapter` to `editor`
* chore: fix e2e tests not running due to importing a constant from a file (`Tabs`) which imports createSlate.
This fails because createSlate imports React components.
* chore: remove unnecessary import
* chore: improve various typings
* chore: improve typings for List view Cell components
* feat: richText adapter cell component
* chore: add missing types packages for packages/richtext-slate
* chore: add new adapter interface properties to joi schema
* chore: withMergedProps utility which replaces getSlateCellComponent and getSlateFieldComponent
* feat: added config.defaultEditor property which is now required. field.editor is no longer required and overrides config.defaultEditor
* docs: mention editor and defaultEditor property in the docs
* chore: fix incorrectly formatted JSX in docs files breaking mdx parser
* feat: create base structure for lexical adapter
* chore: upgrade dependencies
* chore: improve package.json property order
* chore: undo unnecessary changes in core
* chore: initial, working lexical editor
* chore: utils
* chore: add license.md
* chore: work on Floating toolbar
* chore: floatingSelectToolbar extensibility
* chore: FloatingSelectToolbar format buttons
* chore: add functionality to format buttons
* chore: caret handling improvements
* chore: keep toolbar hidden during mousedown
* chore: keep carat centered unless at edge of container
* chore: placeholder, style improvements
* chore: DraggableBlock Handle
* chore: limit cell preview length
* chore: fix drag handle styling in light mode
* chore: remove unnecessary listener
* feat: add block handle
* chore: handle removal of handles properly
* chore: add HistoryPlugin
* chore: improve naming of format button properties
* chore: fix incorrect position of HistoryPlugin
* chore: serif font
* chore: improve opacity handling of FloatingSelectToolbar
* feat: slash menu
* feat: slash menu interface
* chore: fix mixed-up icon
* chore: add missing editorConfig?.feature dependency
* feat: sanitizedEditorConfig, slash menu grouping
* feat: interface for nodes
* feat: Plugin interface
* feat: working AddBlockHandlePlugin
* feat: headings
* chore: improve editor focus handling for add block handle's slash menu
* chore: improve handling of slash menu filtering
* fix: cloneDeep function not handling all data types well
* feat: markdown transformers for headings
* feat: proper dependency system
* feat: add remaining markdown transformers
* feat: order system for floating toolbar format buttons
* chore: customizable floating select toolbar sections system
* feat: WIP floatingSelectToolbar dropdown sections
* feat: working dropdown & misc improvements
* chore: fix dropdown top positioning after scrolling down
* chore: downgrade @types/react
* feat: treeview debug feature, & misc improvements
* feat: add TabIndentationPlugin by default
* fix: wrong key for treeviewfeature
* chore: handle plugin keys
* chore: simplify Heading Feature
* feat: Text Align
* feat: Indent
* chore: floating text toolbar section dividers
* feat: isEnabled for floating select toolbar, and isEnabled handling for decreaseIndent
* chore: add all missing icons
* feat: checklist, orderedlist, unorderedlist
* chore: improve lists by using lexical/react's ListPlugin
* chore: lists markdown transformers
* chore: improve key generation for plugins
* fix: add missing payload scss import
* fix: make default editorConfig null instead of defaultSanitizedEditorConfig for EditorConfigProvider. This fixes a bug where the editor would crash if some feature was using this EditorConfigProvider, as EditorConfigProvider needs the feature (due to the serialization process) and the Feature needing EditorConfigProvider (circular dependency)
* chore: allow positioning plugins under floatingAnchorElem
* feat: WIP: Link Feature
* chore: add box shadow to slash menu in light mode
* chore: CheckList => Check List
* chore: respect admin.readOnly setting
* chore: Simplify Link Feature
* chore: restructuring
* chore: prettier
* chore: scss-ify
* feat: wip: nicer draggable blocks
* chore: lots of block drag improvements
* helllll yea
* chore: just pure niceness
* fix: drag handle not working when scrolling down
* fix: "add" drag handle not working when scrolling down
* chore: remove unnecessary console log
* chore: fix slash menu positioning if there is not enough space below
* chore: increase animation speed of floating select toolbar
* chore: expect transforms for top-level editor nodes
* chore: move css rule to correct position
* chore: slightly animate target drag line
* chore: do not indicate drag-ability in un-dragable positions
* chore: explanatory comment
* chore: link editor styling
* chore: lots of link-related improvements
* chore: a lot of floating toolbar improvements
* chore: adjust link colors to be the same as in the website
* chore: prep work link extensibility
* chore: work on link plugin
* feat: fully-working link feature 🎉
* chore: add upload icon
* chore: merge in useful changes from playground & misc stuff
* feat: WIP relationship feature
* feat: Relationship Feature
* feat: BlockQuote Feature
* chore: base structure for Upload feature
* chore: fix types
* chore: WIP work on population and upload nodes
* chore: stuff
* fix: ensure uuid is only generated once
* chore: remove console.log's
* feat: link and relationship population
* fix: populate relationships at correct position
* chore: bunch of progress on upload node
* chore: working upload node!
* chore: various upload feature improvements
* chore: misc
* feat: working upload feature fields customization
* feat: WIP Blocks feature
* chore: fix incorrectly registered editor commands
* chore: get Block fields to render
* feat: functional blocks feature
* chore: improve functionality of blocks feature component (styling, collapsing)
* chore: disable console logs
2023-10-01 21:03:44 +02:00