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
Elliot DeNolf
1f1445c798
chore(release): richtext-lexical/0.5.0 [skip ci]
2023-12-19 14:45:27 -05:00
Dan Ribbens
c1bd338d0d
feat: prevent querying relationship when filterOptions returns false ( #4392 )
...
fix: hidden collections showing in lexical and slate relationships
feat: prevent querying relationship when filterOptions returns false
fix: hidden collections appear in richtext internal link options
Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com >
2023-12-15 12:43:43 -05:00
Alessio Gravili
c49fd66922
feat(richtext-lexical)!: rename TreeviewFeature into TreeViewFeature ( #4520 )
...
Breaking: If you import TreeviewFeature in your project, you have to rename the import to use TreeViewFeature (capitalized "V")
2023-12-15 18:33:16 +01:00
Alessio Gravili
cc0ba89518
feat(richtext-lexical)!: link node: change doc data format to be consistent with relationship field ( #4504 )
...
BREAKING: An unpopulated, internal link node no longer saves the doc id under fields.doc.value.id. Now, it saves it under fields.doc.value.
Migration inside of payload is automatic. If you are reading from the link node inside of your frontend, though, you will have to adjust it.
The version property of the link and autoLink node has been changed from 1 to 2.
2023-12-13 22:57:08 +01:00
Alessio Gravili
31f8f3cac6
feat(richtext-lexical): Slate to Lexical converter: add blockquote conversion, convert custom link fields ( #4486 )
2023-12-13 13:16:58 +01:00
Alessio Gravili
548e78c598
fix(richtext-lexical): Blocks field: should not prompt for unsaved changes due to value comparison between null and non-existent props ( #4450 )
2023-12-11 20:42:42 +01:00
Alessio Gravili
9222d6f207
chore(richtext-lexical): remove unnecessary leftover Meta license headers, as they're already included in the LICENSE.md
2023-12-11 16:35:26 +01:00
Alessio Gravili
ac7f9809bc
fix(richtext-lexical): not all types of URLs are validated correctly
2023-12-11 16:33:00 +01:00
Alessio Gravili
9331204295
feat(richtext-lexical)!: improve floating select menu Dropdown classNames ( #4444 )
...
Breaking: Dropdown component has a new mandatory sectionKey prop
2023-12-11 14:34:22 +01:00
Alessio Gravili
9babf6804c
feat(richtext-lexical): improve link URL validation ( #4442 )
...
* fix(richtext-lexical): Link: allow phone numbers as URLs starting with tel:+
* feat(richtext-lexical): Link Feature: immediately validate URL field in drawer form
* Remove console log
2023-12-11 00:39:32 +01:00
Alessio Gravili
5c2739ebd1
fix(richtext-lexical): do not add unnecessary paragraph before upload, relationship and blocks nodes ( #4441 )
2023-12-11 00:08:15 +01:00
Alessio Gravili
0421173f9e
fix(richtext-lexical): lexicalHTML field now works when used inside of row fields ( #4440 )
2023-12-10 23:47:32 +01:00
Alessio Gravili
b70c8ff6b8
chore(richtext-lexical): Slash Menu: Don't show scroll bar if not needed ( #4432 )
2023-12-09 15:07:33 +01:00
Alessio Gravili
e55889480f
feat(richtext-lexical): Upload html serializer: Output picture element if the image has multiple sizes, improve absolute URL creation
2023-12-08 20:09:41 +01:00
Elliot DeNolf
070f4d5bb5
chore(release): richtext-lexical/0.4.1 [skip ci]
2023-12-07 10:58:17 -05:00
Alessio Gravili
48f1299fcb
fix(richtext-*): loosen RichTextAdapter types due to re-occuring ts strict mode errors ( #4416 )
2023-12-07 15:59:59 +01:00
Alessio Gravili
61dca16f91
chore(richtext-lexical): upgrade to lexical 0.12.5 and port over relevant playground changes ( #4415 )
2023-12-07 15:30:39 +01:00
Alessio Gravili
128f9c4e7e
fix(richtext-lexical): lexicalHTML field not working when used inside of Blocks field
2023-12-07 14:30:01 +01:00
Alessio Gravili
1469fc26c7
chore(richtext-lexical): Slash menu items: improve overflow behavior
2023-12-07 14:13:11 +01:00
Elliot DeNolf
df4f346f2f
chore(release): richtext-lexical/0.4.0 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
93fa7b608f
chore(richtext-lexical): bump payload peer dep
2023-12-06 13:41:32 -05:00
Alessio Gravili
7af8f29b4a
feat(richtext-lexical): Link & Relationship Feature: field-level configurable allowed relationships ( #4182 )
...
* feat(richtext-lexical): ability to configure link feature enabled relations on a field-level
* feat(richtext-lexical): ability to configure Relationship feature enabled relations on a field-level
* chore(richtext-lexical): Improve Link feature props typing
* chore(richtext-lexical): Improve Link and Relationship feature props typing
* fix(richtext-lexical): Link drawer types
* chore: merge conflict resolve
* chore(richtext-lexical): Link Feature: add comments that explain how getBaseFields works
2023-12-06 17:50:50 +01:00
Alessio Gravili
5de347ffff
feat(richtext-lexical)!: lazy import React components to prevent client-only code from leaking into the server ( #4290 )
...
* chore(richtext-lexical): lazy import all React things
* chore(richtext-lexical): use useMemo for lazy-loaded React Components to prevent lag and flashes when parent component re-renders
* chore: make exportPointerFiles.ts script usable for other packages as well by hoisting it up to the workspace root and making it configurable
* chore(richtext-lexical): make sure no client-side code is imported by default from Features
* chore(richtext-lexical): remove unnecessary scss files
* chore(richtext-lexical): adjust package.json exports
* chore(richtext-*): lazy-import Field & Cell Components, move Client-only exports to /components subpath export
* chore(richtext-lexical): make sure nothing client-side is directly exported from the / subpath export anymore
* add missing imports
* chore: remove breaking changes for Slate
* LazyCellComponent & LazyFieldComponent
2023-12-06 14:20:18 +01:00
Timothy Choi
3b8a27d199
feat: pass path to FieldDescription ( #4364 )
...
fix: DescriptionFunction type
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-12-04 13:59:18 -05:00
Elliot DeNolf
b6f02765eb
chore(release): richtext-lexical/0.3.1 [skip ci]
2023-12-01 16:19:58 -05:00
Alessio Gravili
3e745e91da
fix(richtext-lexical): blocks content may be hidden behind components outside of the editor ( #4325 )
...
* chore(richtext-lexical): add e2e test to reproduce the issue
* fix the issue
2023-12-01 09:46:21 +01:00
Alessio Gravili
ef84a2cfff
fix(richtext-lexical): Blocks node: incorrect conversion from v1 node to v2 node
2023-12-01 09:28:44 +01:00
Elliot DeNolf
176550d26b
chore(release): richtext-lexical/0.3.0 [skip ci]
2023-11-30 11:07:44 -05:00