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

Source code edit? Insert <script> tag #585

Open
cimenta opened this issue Aug 3, 2023 · 3 comments
Open

Source code edit? Insert <script> tag #585

cimenta opened this issue Aug 3, 2023 · 3 comments

Comments

@cimenta
Copy link

cimenta commented Aug 3, 2023

Hi

I am looking for an editor for a blog site and time to time the users need to insert and later on also edit <script> tag into the post. But in a way that the script actually works.

Does this editor allow users to insert and save working <script> tag?

Thank you
Radek

@anthonyjb
Copy link
Member

You can insert/modify raw HTML, including script tags by clicking on a HTML tag in the editors tags path (e.g P or UL > LI) (bottom left), then selecting the source tab in the window that appears.

However, out of the box that's about it there not a first class element type you can edit with CT.

@cimenta
Copy link
Author

cimenta commented Aug 3, 2023

sorry I did not understand.. So it it possible or not?
Actually I want to insert and then edit the <script> tag

@anthonyjb
Copy link
Member

Yes - it is possible since you can edit the underlying HTML via the editor - you'll likely find this is the case with most editors.

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