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

Allow RichText inside a table #4

Open
schmittlauch opened this issue Oct 26, 2015 · 2 comments
Open

Allow RichText inside a table #4

schmittlauch opened this issue Oct 26, 2015 · 2 comments

Comments

@schmittlauch
Copy link

It would be quite useful if the table's content was rich text. I have to format single words different from the rest of the content, which currently is quite hard to achieve.

@nathanielw
Copy link
Owner

I think this should be possible to add - I should have time next week to look into it.

schmittlauch added a commit to schmittlauch/Bootstrap-Pencil-Stencils that referenced this issue Oct 29, 2015
this is a quick and dirty fix, as arbitrary html/javascript code could
be inserted through the table element.
I don't see a high security risk, but please think about that before
merging.
@schmittlauch
Copy link
Author

The structure of the spec objects used in Dom.newDOMFragment isn't documented. I found out that I can set the inner HTML through the _html property. You seem to have some insight in stencil developing, could you improve documentation if you find the time?

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