Elliot DeNolf
f00183029e
chore(release): richtext-lexical/0.11.3 [skip ci]
2024-08-09 09:39:40 -04:00
Jarrod Flesch
492ed30cb8
chore: fix generic usage, fixes CI ( #7421 )
2024-07-29 16:28:15 -04:00
Elliot DeNolf
39e34ce94e
chore(release): richtext-lexical/0.11.2 [skip ci]
2024-06-28 09:25:51 -04:00
Alessio Gravili
cf52d64d98
fix(richtext-lexical): html converters unnecessarily growing over time ( #6963 )
...
Fixes https://github.com/payloadcms/payload/issues/6962
2024-06-27 11:57:23 -04:00
Elliot DeNolf
b068f30f51
chore(release): richtext-lexical/0.11.1 [skip ci]
2024-05-16 14:05:28 -04:00
Alessio Gravili
48a410e294
fix(richtext-lexical): upload, relationship and block node insertion fails sometimes ( #6390 )
...
Backport of https://github.com/payloadcms/payload/pull/6389
2024-05-16 13:34:43 -04:00
Elliot DeNolf
1c30ad73b6
chore(release): richtext-lexical/0.11.0 [skip ci]
2024-05-15 11:35:05 -04:00
Alessio Gravili
9df5ab8a10
feat(richtext-lexical)!: remove LexicalBlock, RichTextFieldRequiredEditor and FieldWithRichTextRequiredEditor types ( #6279 )
...
BREAKING:
`LexicalBlock`, `RichTextFieldRequiredEditor` and `FieldWithRichTextRequiredEditor` types have been removed. Instead of `LexicalBlock`, use `Block`. Instead of `RichTextFieldRequiredEditor`, use `RichTextField`. And instead of `FieldWithRichTextRequiredEditor`, use `Field`.
2024-05-09 09:46:03 -04:00
Elliot DeNolf
723791b94f
chore(release): richtext-lexical/0.10.0 [skip ci]
2024-05-07 15:53:11 -04:00
Alessio Gravili
857b9a4ac3
feat(richtext-lexical): add maxDepth property to various lexical features ( #6250 )
...
Backports #6242
2024-05-07 09:39:48 -04:00
Alessio Gravili
f829b084ba
fix(richtext-lexical): export missing HorizontalRuleFeature ( #6236 )
2024-05-06 13:54:49 -04:00
Elliot DeNolf
034be89bdb
chore(release): richtext-lexical/0.9.3 [skip ci]
2024-05-03 11:23:00 -04:00
Jarrod Flesch
a8ac8b4633
fix: cascade draft arg in nested GraphQL relationship queries ( #6141 )
2024-04-30 14:19:20 -04:00
Alessio Gravili
36b1f5a763
fix(richtext-lexical): floating toolbar caret positioned incorrectly for some line heights ( #6151 )
2024-04-30 12:06:02 -04:00
Alessio Gravili
24f697219b
fix(richtext-lexical): drag and add block handles disappear too quickly for smaller screen sizes. ( #6145 )
2024-04-30 10:52:37 -04:00
Elliot DeNolf
e1f91f5170
chore(release): richtext-lexical/0.9.2 [skip ci]
2024-04-26 16:04:37 -04:00
Jacob Fletcher
d0ba694c80
fix(deps): dedupes react ( #6058 )
2024-04-26 11:43:14 -04:00
Elliot DeNolf
f05a433320
chore(release): richtext-lexical/0.9.1 [skip ci]
2024-04-25 14:38:56 -04:00
Alessio Gravili
60372faf36
fix(richtext-lexical): minimize the amount of times sanitizeFields is called ( #6018 )
2024-04-24 17:51:14 -04:00
Elliot DeNolf
1a337ec223
chore(release): richtext-lexical/0.9.0 [skip ci]
2024-04-19 11:38:09 -04:00
Alessio Gravili
3b1d331316
fix(richtext-lexical): use correct nodeType on HorizontalRule feature HTML converter ( #5805 )
2024-04-11 16:10:55 -04:00
Alessio Gravili
d8e9084db2
feat(richtext-lexical): add HorizontalRuleFeature
2024-04-11 15:37:45 -04:00
Alessio Gravili
a00439ea89
fix(richtext-lexical): limit unnecessary floating handle positioning updates
2024-04-11 14:12:59 -04:00
Alessio Gravili
0055a8eb36
feat(richtext-lexical): improve floating handle y-positioning by positioning it in the center for smaller elements.
2024-04-11 13:50:24 -04:00
Alessio Gravili
de5d6cc4bd
fix(richtext-lexical): incorrect floating handle y-position calculation next to certain kinds of HTML elements like HR
2024-04-11 12:29:49 -04:00
Alessio Gravili
6186493246
fix(richtext-lexical)!: do not allow omitting editor prop for sub-richtext fields within lexical defined in the payload config ( #5766 )
...
**BREAKING:** Modifies fields types which are allowed to be passed in to upload, link, and blocks lexical features. Can break your types even if no sub-richText editor is passed in
2024-04-10 11:14:32 -04:00
Alessio Gravili
9b44296092
fix(richtext-lexical): catch errors that may occur during HTML generation ( #5754 )
2024-04-09 15:58:34 -04:00
Alessio Gravili
cf135fd1e4
fix(richtext-lexical): pass through config for schema generation. Makes it more robust ( #5700 )
2024-04-05 15:55:51 -04:00
Elliot DeNolf
823fde07c3
chore(release): richtext-lexical/0.8.0 [skip ci]
2024-04-03 14:25:56 -04:00
Elliot DeNolf
b76c5c8c11
chore: update all package.json repository urls
2024-04-03 11:06:42 -04:00
Alessio Gravili
2164dcc594
fix(richtext-lexical): disable instanceof HTMLImageElement check as it causes issues when used on the server
2024-04-03 09:50:46 -04:00
Alessio Gravili
02d2c51717
feat(richtext-*): add ability to provide custom Field and Error components ( #5574 )
2024-03-31 20:57:30 -04:00
Alessio Gravili
2e5400fa7a
fix(richtext-lexical): checklist html converter incorrectly outputting children ( #5570 )
2024-03-31 16:23:40 -04:00
Alessio Gravili
48dc116f57
fix(richtext-lexical): properly center add- and drag-block handles ( #5568 )
2024-03-31 16:03:51 -04:00
Alessio Gravili
e7f6bfbe9d
fix(richtext-lexical): Blocks: generated output schema is not fully correct ( #5259 )
2024-03-07 13:27:27 -05:00
Dan Ribbens
ceca5c4e97
fix(db-postgres): set _parentID for array nested localized fields ( #5117 )
...
* fix(db-postgres): find missing path for nested arrays
* fix(db-postgres): set _parentID for array nested localized fields
* fix: afterRead fallbackLocale causing locale data loss
* chore(richtext-lexical): updated args to match payload type change
* test: simplify localization e2e duplicate
2024-02-23 12:44:30 -05:00
Elliot DeNolf
d4b09bd9cd
chore(release): richtext-lexical/0.7.0 [skip ci]
2024-02-16 15:00:13 -05:00
Alessio Gravili
0d18822062
feat(richtext-lexical)!: Update lexical from 0.12.6 to 0.13.1, port over all useful changes from playground ( #5066 )
...
* feat(richtext-lexical): Update lexical from 0.12.6 to 0.13.1, port over all useful changes from playground
* chore: upgrade lexical version used in monorepo
2024-02-12 17:54:50 +01:00
Alessio Gravili
00fc0343da
feat(richtext-lexical): AddBlock handle for all nodes, even if they aren't empty paragraphs ( #5063 )
2024-02-12 16:11:41 +01:00
Alessio Gravili
6323965c65
fix(richtext-lexical): do not remove adjacent paragraph node when inserting certain nodes in empty editor ( #5061 )
2024-02-12 14:27:58 +01:00
Máté Tallósi
6d6823c3e5
feat(richtext-lexical): add justify aligment to AlignFeature ( #4035 ) ( #4868 )
2024-02-12 14:27:12 +01:00
Elliot DeNolf
e0191b54e1
chore(release): richtext-lexical/0.6.1 [skip ci]
2024-02-08 11:49:02 -05:00
Alessio Gravili
2315781f18
fix(richtext-lexical): make editor reactive to initialValue changes ( #5010 )
2024-02-08 15:30:21 +01:00
Elliot DeNolf
558534aff8
chore(release): richtext-lexical/0.6.0 [skip ci]
2024-02-06 15:41:04 -05:00
Alessio Gravili
90d7ee3e65
feat(richtext-lexical): Blocks: generate type definitions for blocks fields ( #4529 )
2024-01-30 16:51:18 +01:00
Elliot DeNolf
175cf229c0
chore(release): richtext-lexical/0.5.2 [skip ci]
2024-01-12 10:41:55 -05:00
Alessio Gravili
50502834c9
chore(richtext-lexical): upgrade lexical from v0.12.5 to v0.12.6 ( #4732 )
...
* chore(richtext-lexical): upgrade all lexical packages from 0.12.5 to 0.12.6
* fix(richtext-lexical): fix TypeScript errors
* fix indenting
2024-01-09 09:35:18 +01:00
Alessio Gravili
a3e78161b5
fix: non-boolean condition result causes infinite looping ( #4579 )
2024-01-04 09:51:08 -05:00
Elliot DeNolf
9090540ece
chore(release): richtext-lexical/0.5.1 [skip ci]
2024-01-03 15:58:05 -05:00
Alessio Gravili
8015e999cd
fix(richtext-lexical): z-index issues ( #4570 )
2023-12-20 15:10:18 +01:00