-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cannot set cell width or height because inline styles are stripped #722
Conversation
@@ -150,6 +153,10 @@ CKEDITOR.dialog.add( 'cellProperties', function( editor ) { | |||
inputElement = this.getInputElement(), | |||
ariaLabelledByAttr = inputElement.getAttribute( 'aria-labelledby' ); | |||
|
|||
if ( this.getDialog().getContentElement( 'info', 'height' ).isVisible() ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -129,6 +129,64 @@ | |||
dialog.setValueOf( 'info', 'width', 10 ); | |||
dialog.setValueOf( 'info', 'widthType', 'px' ); | |||
} ); | |||
}, | |||
|
|||
'test test': function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is strange name for a test :)
Also this test fails on FF, IE9.
bender.editorBot.create( { | ||
name: 'required', | ||
config: { | ||
allowedContent: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure, but maybe it can be replaced with something like:
allowedContent: *[lang,dir]; table tbody tr...
Test with disallowedContent
rule should be added too.
@@ -0,0 +1,11 @@ | |||
@bender-tags: 4.7.0, 16893 tc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update tags to 4.7.2, trac16893, bug
|
||
## Expected | ||
|
||
Cell width and height fields are not displayed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cell width and height fields are not visible. All dialog elements are properly aligned (no gap at the top in one of the columns).
TODO:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
What is the purpose of this pull request?
Bug fix
Does your PR contain necessary tests?
All patches which change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.
This PR contains
What changes did you make?
Closes #1014.