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

Editor InsertTable tool does not work with defaultEditMode set to div. #358

Closed
simonssspirit opened this issue Oct 17, 2019 · 5 comments
Closed
Assignees
Labels
Documentation Item which is related to a new article or update of an existing one in our documentation pkg:Editor
Milestone

Comments

@simonssspirit
Copy link
Contributor

simonssspirit commented Oct 17, 2019

Editor InsertTable tool does not work with defaultEditMode set to div.

The table element is added, but it is very shrunk and with no borders.

This can be observed in the following demo:

https://stackblitz.com/edit/react-ebpbvp?file=app/content.js

@simonssspirit simonssspirit added Bug Item which indicates that something is not working pkg:Editor labels Oct 17, 2019
@simonssspirit simonssspirit changed the title Editor isniderTable tool does not work with defaultEditMode set to div. Editor InsertTable tool does not work with defaultEditMode set to div. Oct 17, 2019
@nstoychev
Copy link

The problem here is that the styles are not loaded. We should add a demo for defaultEditMode="div".

@nstoychev nstoychev added Documentation Item which is related to a new article or update of an existing one in our documentation and removed Bug Item which indicates that something is not working labels Oct 17, 2019
@cwdata
Copy link

cwdata commented Oct 17, 2019

Ok, so how could we load the styles in that case?

@nstoychev
Copy link

Here is an example - https://stackblitz.com/edit/react-rqoasa?file=index.html

The styles of the editor content are placed in the index.html file. Feel free to modify them as you need.

@cwdata
Copy link

cwdata commented Oct 17, 2019

Thanks Nikolay, it is working for me now.

@nstoychev nstoychev self-assigned this Oct 18, 2019
@nstoychev
Copy link

Here is the new demo showing how to style the content in DIV mode - https://www.telerik.com/kendo-react-ui-develop/components/editor/rendering-mode/.

@nstoychev nstoychev added this to the 3.7.0 milestone Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Item which is related to a new article or update of an existing one in our documentation pkg:Editor
Projects
None yet
Development

No branches or pull requests

3 participants