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

Insert HTML code #75

Open
martinszy opened this issue Jan 29, 2018 · 2 comments
Open

Insert HTML code #75

martinszy opened this issue Jan 29, 2018 · 2 comments

Comments

@martinszy
Copy link

Hello, I'm thinking of a workflow that involves people adding embed codes in github pages, is that possible?
What should I manually patch to allow ckeditor to insert html directly?

Thanks.

@torfsen
Copy link
Contributor

torfsen commented Jan 30, 2018

I don't understand how you want to use GitHub pages, but you can insert HTML as follows:

If you use the standard editor, it should be enough to set ckanext.pages.allow_html = True, which will allow you to embed HTML in your Markdown page texts (Markdown syntax will still be converted).

AFAIK, the WYSIWYG editors in ckanext-pages currently are not set up to support direct HTML editing. For CKEditor there was the PR #48, but it was closed by the author before it could be merged.

@martinszy
Copy link
Author

Is great about the PR! It seems to do exactly what I want... so maybe we can create a new one so we can merge it?
BTW: I think I mean Ckan pages and my mind got confused.

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