James
6bc282444e
chore: slate compatibility with next-payload
2023-10-14 11:49:38 -04:00
Elliot DeNolf
52c4a63bf1
chore(release): richtext-slate/1.0.3
2023-10-12 23:38:38 -04:00
Alessio Gravili
cc56da11d6
fix: database adapter types
2023-10-12 17:53:35 +02:00
Elliot DeNolf
b17f627e02
chore(release): richtext-slate/1.0.2
2023-10-10 15:59:33 -04:00
Alessio Gravili
9ae585d23c
fix: Slate toolbar rendered even if it has no elements and leaves
2023-10-10 19:22:08 +02:00
Elliot DeNolf
252b04097f
chore(release): richtext-slate@1.0.1
2023-10-09 09:21:49 -04:00
Elliot DeNolf
71c41dbe03
chore: update main and types to dist
2023-10-09 09:16:46 -04:00
Alessio Gravili
501ec4464f
chore(richtext-slate): export ElementButton, LeafButton and toggleElement
2023-10-09 14:50:19 +02:00
Elliot DeNolf
fbbc0a3c67
chore(release): all remaining packages
2023-10-08 23:57:11 -04:00
Alessio Gravili
92fdfbe333
chore(richtext-slate): export types
2023-10-09 04:38:14 +02:00
Elliot DeNolf
26d56de572
chore(release): richtext-slate@1.0.0-beta.5
2023-10-08 20:13:05 -04:00
Elliot DeNolf
09ee95087b
chore(release): richtext-slate@1.0.0-beta.4
2023-10-08 17:42:17 -04:00
Elliot DeNolf
59bd6abfc3
chore: stub out basic READMEs for all packages
2023-10-07 11:24:33 -04:00
Jacob Fletcher
960fe42b93
chore: resolves ts errors in views ( #3453 )
2023-10-06 14:58:51 -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
Alessio Gravili
cffb5663aa
fix: custom fields of Upload and Link features not being sanitized (both Slate and Lexical)
2023-10-06 15:47:31 +02:00
Elliot DeNolf
81ed355bbc
chore(release): richtext-slate@1.0.0-beta.3
2023-10-06 09:28:08 -04:00
Alessio Gravili
9acc1e4c99
feat: block node validations
2023-10-06 11:30:18 +02:00
Elliot DeNolf
1107a1d7d1
chore: rename editors
2023-10-04 13:27:19 -04: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
Elliot DeNolf
6e07aee59a
feat(richtext-slate): add copyfiles command
2023-10-01 16:23:27 -04:00
Jarrod Flesch
6fa5866f99
feat: 2.0 popover style updates ( #3404 )
2023-09-29 09:05:02 -04:00
Jacob Fletcher
aa94c00bc6
chore: misc css ( #3391 )
2023-09-27 13:18:29 -04:00
Alessio Gravili
6338471287
chore: sort package.json keys of richtext-slate package
2023-09-19 12:02:42 +02:00
Alessio Gravili
cdaa0acd61
chore: run eslint & prettier, adjust perfectionist sorting for package.json and tsconfig.json in eslint configs
2023-09-19 11:41:56 +02:00
Alessio Gravili
a81401cf77
feat: breaking: richtext adapter ( #3311 )
...
BREAKING: requires user to install @payloacms-richtext-slate and specify a `config.editor` property
* 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
* chore: fix various errors
* chore: auto-generated pointer files
2023-09-19 11:03:31 +02:00