Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 5f65823

Browse files
authored
Merge pull request #1188 from ckeditor/t/ckeditor5-ui/144
Other: Migrated package styles to PostCSS. Moved visual styles to ckeditor5-theme-lark (see ckeditor/ckeditor5-ui#144).
2 parents 0934496 + 8730244 commit 5f65823

File tree

6 files changed

+35
-36
lines changed

6 files changed

+35
-36
lines changed

src/view/placeholder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import extend from '@ckeditor/ckeditor5-utils/src/lib/lodash/extend';
1111
import EmitterMixin from '@ckeditor/ckeditor5-utils/src/emittermixin';
1212
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
13-
import '../../theme/placeholder.scss';
13+
import '../../theme/placeholder.css';
1414

1515
const listener = {};
1616
extend( listener, EmitterMixin );

tests/manual/nestededitable.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3+
* For licensing, see LICENSE.md.
4+
*/
5+
6+
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
7+
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
8+
9+
figure {
10+
background-color: #f3f3f3;
11+
padding: 10px;
12+
13+
& figcaption {
14+
background: white;
15+
outline: none;
16+
17+
&.focused {
18+
@mixin ck-focus-ring;
19+
@mixin ck-box-shadow var(--ck-inner-shadow);
20+
}
21+
}
22+
}

tests/manual/nestededitable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import ViewEditableElement from '../../src/view/editableelement';
1818
import { getData } from '../../src/dev-utils/model';
1919
import global from '@ckeditor/ckeditor5-utils/src/dom/global';
2020

21-
import './nestededitable.scss';
21+
import './nestededitable.css';
2222

2323
class NestedEditable extends Plugin {
2424
init() {

tests/manual/nestededitable.scss

Lines changed: 0 additions & 25 deletions
This file was deleted.

theme/placeholder.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3+
* For licensing, see LICENSE.md.
4+
*/
5+
6+
.ck-placeholder::before {
7+
content: attr( data-placeholder );
8+
9+
/* See ckeditor/ckeditor5#469. */
10+
pointer-events: none;
11+
}

theme/placeholder.scss

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)