Are you reporting a feature or a bug?
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”>
It shouldn’t put any border, since no border is requested.
It thinks a border was requested and sets border=“1”
- Browser: Chrome 59 @ Linux, Mac, Windows; Edge
- OS: Linux, Mac, Windows
- Installed CKEditor plugins: standard presets
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.