X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/256592bf803e851aa7fc953e08a6e9e58d970f8c..871bad8291b6dbc29d489d95d185458caab25158:/skins/ckeditor/_samples/sharedspaces.html diff --git a/skins/ckeditor/_samples/sharedspaces.html b/skins/ckeditor/_samples/sharedspaces.html new file mode 100644 index 0000000..624b5fc --- /dev/null +++ b/skins/ckeditor/_samples/sharedspaces.html @@ -0,0 +1,153 @@ + + + +
+
+ This sample shows how to configure multiple CKEditor instances to share some parts of the interface.
+ You can choose to share the toolbar (topSpace
), the elements path
+ (bottomSpace
), or both.
+
+ CKEditor instances with shared spaces can be inserted with a JavaScript call using the following code: +
+CKEDITOR.replace( 'textarea_id', + { + sharedSpaces : + { + top : 'topSpace', + bottom : 'bottomSpace' + } + });+
+ Note that textarea_id
in the code above is the id
attribute of
+ the <textarea>
element to be replaced with CKEditor.
+