@infonomic/payload-alternative-lexical-editor 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -103,21 +103,21 @@ In Payload - the adapter loads our editor via the `rsc-entry.tsx` stub and a com
103
103
  |
104
104
  | (renders)
105
105
  v
106
- +-----------------------------------+-----------------------------------+
106
+ +-----------------------------------+----------------------------------+
107
107
  | EditorContext (src/field/editor-context.tsx) |
108
108
  | - Wraps everything in <LexicalComposer> |
109
109
  | - Provides SharedHistory & SharedOnChange Contexts |
110
- +------------------+----------------------------------+-----------------+
111
- | |
112
- | (passed as children) | (renders)
113
- v v
114
- +------------------+------------------+ +----------+-------------------+
115
- | ApplyValuePlugin | | Editor (src/field/editor.tsx)|
116
- | (src/field/apply-value-plugin.tsx) | | - ToolbarPlugin |
117
- | | | - ContentEditable |
118
- | - Watches: incoming value & hash | | - Floating Toolbars |
119
- | - Action: editor.update() | | - Auto-resize logic |
120
- | (Syncs external props -> Editor) | +------------------------------+
110
+ +------------------+---------------------------------+-----------------+
111
+ | |
112
+ | (passed as children) | (renders)
113
+ v v
114
+ +------------------+------------------+ +-----------+------------------+
115
+ | ApplyValuePlugin | | Editor (src/field/editor.tsx)|
116
+ | (src/field/apply-value-plugin.tsx) | | - ToolbarPlugin |
117
+ | | | - ContentEditable |
118
+ | - Watches: incoming value & hash | | - Floating Toolbars |
119
+ | - Action: editor.update() | | - Auto-resize logic |
120
+ | (Syncs external props -> Editor) | +------------------------------+
121
121
  +-------------------------------------+
122
122
  ```
123
123
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infonomic/payload-alternative-lexical-editor",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",