Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Edit Text Extension #397

Open
jogibear9988 opened this issue Dec 17, 2023 · 4 comments
Open

Better Edit Text Extension #397

jogibear9988 opened this issue Dec 17, 2023 · 4 comments

Comments

@jogibear9988
Copy link
Member

Recreate the Edit text Extension based on
https://tiptap.dev/
or
https://github.com/ProseMirror/prosemirror

Deprecate Style extension, it will be deprecated:
peterpeterparker/stylo#124 (comment)

@jogibear9988 jogibear9988 changed the title Edit Text Extension Better Edit Text Extension Dec 17, 2023
@vjystva
Copy link

vjystva commented Mar 11, 2024

Hi @jogibear9988 ,
I am trying to use canvas from web-component-designer.
I am having a use case to support rich text editor. So I am exploring couple of libs(i.e Tinymce,Lit HTML Editor,stylo, ckeditor etc...). I can see some old existing problem related to selection (tinymce/tinymce#6158).
So what are your plans to support rich text editor in designer canvas?

@jogibear9988
Copy link
Member Author

jogibear9988 commented Mar 11, 2024

At the moment I've not planed much on this.
I've reworked the textedit addon, so it works for the simple commands, like bold/italic/fontsize/fontfamily.

If I've time, I will do more in this area, but at the moment it has very low priority.

This is a screenshot of what's currently workin:
image

I'd like to work on a PlacementService wich uses the std html layouting (at the moment we only have one for absolute positions, grid and flexbox).
When this is done (don't know when), this would also help this extension

But if you'd like to work on this, pull requests are always welcome.

roblem with most of editor frameworks is also, no one does support shadowdom out of the box.

@vjystva
Copy link

vjystva commented Mar 15, 2024

Thanks for the response.
@jogibear9988 I have tried a poc to integrate https://tiptap.dev/ and it looks promising and selection API(i.e.Tiptap's onTransaction/onSelectionUpdate event) also seems to be working across different browsers(i.e Chrom,firefox,safari).

What are your suggestions , which other RTE's should I explore?

@jogibear9988
Copy link
Member Author

What have you tried? To integrate it into the designer?
Maybe you could create a extension for the designer?

Why want you explore others if TipTap works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants