This website works better with JavaScript
首頁
探索
說明
登入
unicraft
/
cke
關註
8
讚好
0
複刻
0
檔案
目錄樹:
c104bad903
分支列表
標籤列表
feat/v28
feat/v28-with-smileys
feat/v28-with-types
feat/v35
feat/v38
feat/v40x
fix/destroy-undefined
master
stable
v38.7
v38.6
v38.4
v31beta2
v31beta1
v28beta2
v28beta1
v23.1.0
v23.0.0
v22.0.0
v21.0.0
v20.0.0
v19.1.1
v19.1.0
v19.0.0
v18.0.0
v17.0.0
v16.0.0
v15.0.0
v12.4.0
v12.3.1
v12.3.0
v12.2.0
v12.1.0
v12.0.0
v11.2.0
v11.1.1
v11.1.0
v11.0.1
v11.0.0
v10.1.0
10.1.0
v10.0.1
v10.0.0
v1.0.0-beta.4
v1.0.0-beta.2
v1.0.0-beta.1
v1.0.0-alpha.2
v1.0.0-alpha.1
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.0
v38.6_imageinsert
v38_3
v38_2
v38_1
v36_1
v35_node1618
v35_codeblock_1
cke
/
packages
/
ckeditor5-editor-inline
/
tests
/
manual
/
inline.md
inline.md
950 B
文件歷史
原始文件
Click "Init editor".
Expected:
Inline editor should be created.
The element used as editable should remain visible.
It should preserve
.custom-class
and
custom-attr="foo"
.
There should be a floating toolbar with "Bold", "Italic", "Undo", "Redo", "Link" and "Unlink" buttons.
Scroll the webpage.
Expected:
The toolbar should float around but always stick to editable.
The toolbar should stick to the bottom of the editable if there's not enough space above.
Click "Destroy editor".
Expected:
Editor should be destroyed.
The element used as editable should remain visible.
It should preserve
.custom-class
and
custom-attr="foo"
.
The element should contain its data (updated).
The 'ck-body region' should be removed.
Notes:
You can play with:
editable.isReadOnly
,
Changes to
editor.focusTracker.isFocused
should be logged to the console.
Features should work.