Alessio Gravili
a33e150312
feat(richtext-lexical): Lexical progress
2024-02-27 12:26:12 -05:00
Alessio Gravili
a88b35f919
chore(richtext-*): lint & prettier
2024-02-26 15:45:28 -05:00
Alessio Gravili
75c4b4f234
fix: i18nInit doesn't have to be async, richtext i18n types ( #5176 )
2024-02-26 15:25:28 -05:00
Jacob Fletcher
c6b684df89
chore(next): moves edit and list views ( #5170 )
2024-02-26 11:20:30 -05:00
Elliot DeNolf
8e7d110a7a
chore(release): richtext-lexical/0.7.0 [skip ci]
2024-02-25 16:55:32 -05:00
Alessio Gravili
782053a6ec
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-25 16:55:10 -05:00
Alessio Gravili
fdc72c27b6
feat(richtext-lexical): AddBlock handle for all nodes, even if they aren't empty paragraphs ( #5063 )
2024-02-25 16:49:11 -05:00
Alessio Gravili
8d502d2cb7
fix(richtext-lexical): do not remove adjacent paragraph node when inserting certain nodes in empty editor ( #5061 )
2024-02-25 16:48:54 -05:00
Máté Tallósi
1df3065884
feat(richtext-lexical): add justify aligment to AlignFeature ( #4035 ) ( #4868 )
2024-02-25 16:48:46 -05:00
Elliot DeNolf
cc2ff8e3cb
chore(release): richtext-lexical/0.6.1 [skip ci]
2024-02-25 16:48:33 -05:00
Alessio Gravili
bce821dee9
fix(richtext-lexical): make editor reactive to initialValue changes ( #5010 )
2024-02-25 16:48:20 -05:00
Elliot DeNolf
9e67efbd1b
chore(release): richtext-lexical/0.6.0 [skip ci]
2024-02-25 16:48:01 -05:00
Alessio Gravili
5f081d038e
feat(richtext-lexical): Blocks: generate type definitions for blocks fields ( #4529 )
2024-02-25 16:47:50 -05:00
Elliot DeNolf
d434925f0b
chore(release): richtext-lexical/0.5.2 [skip ci]
2024-02-25 16:42:43 -05:00
Alessio Gravili
1b62a57e7c
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-02-25 16:42:40 -05:00
Alessio Gravili
13447f0b4f
fix: non-boolean condition result causes infinite looping ( #4579 )
2024-02-25 16:41:01 -05:00
Elliot DeNolf
327810390e
chore(release): richtext-lexical/0.5.1 [skip ci]
2024-02-25 16:22:28 -05:00
Alessio Gravili
f8071ce942
fix(richtext-lexical): z-index issues ( #4570 )
2024-02-25 16:22:16 -05:00
Elliot DeNolf
2f858e29cb
chore(release): richtext-lexical/0.5.0 [skip ci]
2024-02-25 16:21:57 -05:00
Jarrod Flesch
a57410133a
chore: clean ts-config files
2024-02-23 12:23:07 -05:00
Jacob Fletcher
0a9329ec56
chore(next): ssr group field ( #4830 )
2024-01-16 14:12:29 -05:00
Jarrod Flesch
13313028b5
adds Translation component and removes more react-i18next
2024-01-16 09:36:35 -05:00
Jacob Fletcher
0bc7c452c3
chore(next): achieves buildable state ( #4803 )
2024-01-13 22:49:04 -05:00
Jacob Fletcher
1c615b7fbf
chore(next): migrates types ( #4792 )
2024-01-12 09:14:38 -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