ckeditor5-phoenix 1.28.0 → 1.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -263,22 +263,6 @@ describe('editor hook', () => {
|
|
|
263
263
|
expect(editor.getData()).toBe('<p>XD</p>');
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
it('should be possible to specify root element name using global config (if editable model element not specified)', async () => {
|
|
267
|
-
const hookElement = createEditorHtmlElement({
|
|
268
|
-
preset: createEditorPreset('decoupled'),
|
|
269
|
-
modelElement: '$inlineRoot',
|
|
270
|
-
});
|
|
271
|
-
|
|
272
|
-
document.body.appendChild(hookElement);
|
|
273
|
-
document.body.appendChild(createEditableHtmlElement());
|
|
274
|
-
|
|
275
|
-
EditorHook.mounted.call({ el: hookElement });
|
|
276
|
-
|
|
277
|
-
const editor = await waitForTestEditor();
|
|
278
|
-
|
|
279
|
-
expect(editor.model.document.getRoot()?.name).toEqual('$inlineRoot');
|
|
280
|
-
});
|
|
281
|
-
|
|
282
266
|
it('should be possible to specify root element name using editable config alone', async () => {
|
|
283
267
|
const hookElement = createEditorHtmlElement({
|
|
284
268
|
preset: createEditorPreset('decoupled'),
|