Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add bold button on toolbar * bold button active/inactive state is set based on selected text * toggle bold in form data * update toggleMark to accurately update blocksData with nodeIds * update the formData at adminUI, to make everything at sync * add mark (bold) when text is selected * remove toggleMark from adminUI * - moving toggleMark to adminUI and using 'slate-hyperscript' to create our own deserializer to convert html string to slate JSON. - At hydrajs, also updated how we determine if the selected text is Formatted or not and made it more efficient. - onClick on format btns , we are updating the html node and sending it to adminUI but we are not recieving it back at frontend since we are in inline edit mode . * move addNodeIds to adminUI and also added functionality to reverse the bold. * add del & italic formats * handle ui for active/inactive state of formats: - at hydrajs, reusing the isFormatted method while deciding active/inactive state of the format btns. - ALSO as discussed in recent sprint that if the format(s) is(are) active then it should keep typing in that format . * Improve handling of formatting elements within the selection * inline edit of other than slate blocks * fix breaking of hydrajs in handleTextChange * update readme * toggle/untoggle format to continue typing in format/non-format * Fix example imports --------- Co-authored-by: [email protected] <[email protected]>
- Loading branch information