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

Edit Source #19

Open
dacatchman opened this issue May 2, 2022 · 2 comments
Open

Edit Source #19

dacatchman opened this issue May 2, 2022 · 2 comments

Comments

@dacatchman
Copy link

Hey, unsure if this is in the plugin presently (let me know if I'm wrong, I cannot find how), but it'd be really helpful to be able to "edit source" on this widget. So for example, to be able to edit it as the html source itself so I can add custom classes, javascript, html etc.

If I'm missing how, please let me know. If not, I suggest that as a future feature!

@dasmikko
Copy link
Owner

dasmikko commented May 4, 2022

I think this would be a nice feature to have!

Will implement this in the near future.

@dasmikko
Copy link
Owner

After looking into this one for some time, I actually think it won't be a good idea to have this.

If you add some content or tags that tiptap doesn't know how to handle, it usually just strips it out. Thus making it easy to accidentally remove old content.

An idea could be an extension that allow to paste HTML/Javascript snippets.

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