@ckeditor/ckeditor5-engine
Version:
The editing engine of CKEditor 5 – the best browser-based rich text editor.
49 lines (42 loc) • 1.45 kB
CSS
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/* See ckeditor/ckeditor5#936. */
.ck.ck-placeholder,
.ck .ck-placeholder {
position: relative;
}
.ck.ck-placeholder::before, .ck .ck-placeholder::before {
position: absolute;
left: 0;
right: 0;
content: attr(data-placeholder);
/* See ckeditor/ckeditor5#469. */
pointer-events: none;
}
/* See ckeditor/ckeditor5#1987. */
.ck.ck-read-only .ck-placeholder::before {
display: none;
}
/*
* Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.
* This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.
* See https://github.com/ckeditor/ckeditor5/issues/11418.
*/
.ck.ck-reset_all .ck-placeholder {
position: relative;
}
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/* Elements marked by the Renderer as hidden should be invisible in the editor. */
.ck.ck-editor__editable span[data-ck-unsafe-element] {
display: none;
}
/*# sourceMappingURL=index.css.map */