X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/js/ckeditor/samples/old/sourcedialog/sourcedialog.html diff --git a/js/ckeditor/samples/old/sourcedialog/sourcedialog.html b/js/ckeditor/samples/old/sourcedialog/sourcedialog.html new file mode 100644 index 000000000..9232b0e02 --- /dev/null +++ b/js/ckeditor/samples/old/sourcedialog/sourcedialog.html @@ -0,0 +1,121 @@ + + + +
+ +
+			Sourcedialog plugin provides an easy way to edit raw HTML content
+			of an editor, similarly to what is possible with Sourcearea
+			plugin for classic (iframe-based) instances but using dialogs. Thanks to that, it's also possible
+			to manipulate raw content of inline editor instances.
+		
+			This plugin extends the toolbar with a button,
+			which opens a dialog window with a source code editor. It works with both classic
+			and inline instances. To enable this
+			plugin, basically add extraPlugins: 'sourcedialog' to editor's
+			config:
+		
+// Inline editor.
+CKEDITOR.inline( 'editable', {
+	extraPlugins: 'sourcedialog'
+});
+
+// Classic (iframe-based) editor.
+CKEDITOR.replace( 'textarea_id', {
+	extraPlugins: 'sourcedialog',
+	removePlugins: 'sourcearea'
+});
+
+		
+			Note that you may want to include removePlugins: 'sourcearea'
+			in your config when using Sourcedialog in classic editor instances.
+			This prevents feature redundancy.
+		
+			Note that editable in the code above is the id
+			attribute of the <div> element to be converted into an inline instance.
+		
+			Note that textarea_id in the code above is the id attribute of
+			the <textarea> element to be replaced with CKEditor.
+		
This is some sample text. You are using CKEditor.
+