X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Fsharedspaces.html;h=c5b70b7584cdb5d2162c2aeab880b0602c96a8a4;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=7b32b9f90a1c127a600a99f69de38078322f2fe8;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_samples/sharedspaces.html b/_samples/sharedspaces.html index 7b32b9f..c5b70b7 100644 --- a/_samples/sharedspaces.html +++ b/_samples/sharedspaces.html @@ -1,11 +1,11 @@
-
+ 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.
+