CKEditor Changes Table Style and Border #566
Labels
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
plugin:table
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Milestone
Are you reporting a feature or a bug?
Bug
Check if the issue is already reported
Not Found
Provide detailed reproduction steps (if any)
Go to http://sdk.ckeditor.com/samples/standardpreset.html
Edit <table> tag in "Source" view - edit to resemble the below:
<table align="right" border="0" cellpadding="5" cellspacing="0" style="border: 0px solid #000000;">
Switch to WYSIWYG view; it has a border.
Switch back to code view: It is now:
<table align="right" border="1" cellpadding="5" cellspacing="0">
Expected result
It shouldn't put any border, since no border is requested.
Actual result
It thinks a border was requested and sets border="1"
Other details
Comments
First time bug-poster, long-time user!
Behavior is the same in the nightly build standard editor.
This can be worked-around by breaking the border: tag apart into border-color, border-style, and border-width, which then doesn't change the border attribute.
The text was updated successfully, but these errors were encountered: