Sfoglia il codice sorgente

Fixed: CSS reset impacts inline content of editor editable in tests.

Aleksander Nowodzinski 9 anni fa
parent
commit
2a8cc1c5bd

+ 1 - 2
tests/_utils/ui/boxededitorui/boxededitoruiview.js

@@ -25,11 +25,10 @@ export default class BoxedEditorUIView extends EditorUIView {
 						class: 'ck-editor-top ck-reset-all'
 					}
 				},
-
 				{
 					tag: 'div',
 					attributes: {
-						class: 'ck-editor-editable ck-reset-all'
+						class: 'ck-editor-editable'
 					}
 				}
 			]

+ 1 - 1
tests/_utils/ui/editableui/framed/framededitableuiview.js

@@ -26,7 +26,7 @@ export default class FramedEditableUIView extends EditableUIView {
 		this.template = {
 			tag: 'iframe',
 			attributes: {
-				class: [ 'ck-framededitable' ],
+				class: [ 'ck-framededitable ck-reset-all' ],
 				// It seems that we need to allow scripts in order to be able to listen to events.
 				// TODO: Research that. Perhaps the src must be set?
 				sandbox: 'allow-same-origin allow-scripts',