Ramnath
Ramnath
Hi, How exactly am I supposed to change that? Can you please suggest the code changes? I think you are referring to these functions: get run() { return (state, dispatch)...
okay I'll try out these suggestions. Will you implement the text-align feature in the editor in the future? I think it would be a really useful feature to have.
Hi, I tried using the setNodeMarkup command but it throws an error stating: Uncaught Error: NodeType.create can't construct text nodes
> right is not applicable there. Use Commands from wax-prosemirror-core > > Commands.setBlockType(state.config.schema.nodes.paragraph, { class: 'paragraph', style: 'text-align: center' })(state, dispatch); This did not work. The second problem is that...
Currently, the following implementation works but it works only for paragraphs. So need to come up with a different logic to handle alignment for all tags. //RightAlignService.js ``` import {...
@christos8333 finally got the text-align feature to work. This is my implementation To perform center alignment: Creating a center align service - centerAlignService.js ``` import { Service } from 'wax-prosemirror-core';...
yes, I'm running into the same problem as well
I encountered a similar challenge while integrating the lexical editor with a collaboration plugin using the hocus pocus provider. While the collaboration worked seamlessly between two tabs in the browser,...