Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MAX-786 committed Aug 13, 2024
1 parent 6c855b9 commit ad23bc8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,12 @@ Additionally your frontend can
- determine which types of text format (node) appear on the quanta toolbar when editing rich text, including adding custom formats ([TODO](https://github.com/collective/volto-hydra/issues/109))
- add a callback of ```onBlockFieldChange``` to rerender just the editable fields more quickly while editing (TODO)
Note Hydra.js knows about the schema of your blocks and based on the field name will determine what what to make your html editable.
Note Hydra.js knows about the schema of your blocks and based on the field name will determine what to make your html editable.
Currently, Hydra.js supports BOLD, ITALIC & STRIKETHROUGH formats on slate blocks and following are the conditions when it breaks slate:
- if you select the whole text and change its formats your frontend might throw slate error saying `Cannot get the leaf node at path [0,0] because it refers to a non-leaf node: ` but it is due to proper syncing of json b/w hydrajs & adminUI.
- if you select text at the end of the line samething will happen.
- pressing ENTER is not implemented so, pressing it will have abnormal changes & error ([TODO](https://github.com/collective/volto-hydra/issues/33))
#### Inline media uploading ([TODO](https://github.com/collective/volto-hydra/issues/36))
Expand Down

0 comments on commit ad23bc8

Please sign in to comment.