Opened 10 years ago

Closed 10 years ago

#11858 closed Task (invalid)

Unable to load xml template on Editor

Reported by: Digvijay Chauhan Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: digvijayc@…

Description

Hi CHEditor Team,

I need your help on to load XML template on CKEditor version # (ckeditor_4.3.4_45ff4ed2c0e6).

Problem: Unable to load xml template on Editor.

I have tried all the possible combination as given on internet (http://ckeditor.com/forums/Plugins/XML-templates ) but did not find any progress.

Please following Item those may help you to understand the problem.

=========== Config.js ==============================

/

  • @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
  • For licensing, see LICENSE.html or http://ckeditor.com/license */

CKEDITOR.editorConfig = function( config ) {

%REMOVE_START% The configuration options below are needed when running CKEditor from source files. config.plugins = 'dialogui,dialog,about,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,clipboard,button,panelbutton,panel,floatpanel,colorbutton,colordialog,templates,menu,contextmenu,div,resize,toolbar,elementspath,enterkey,entities,popup,filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo,font,forms,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent,indentblock,indentlist,smiley,justify,menubutton,language,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastetext,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea,specialchar,scayt,stylescombo,tab,table,tabletools,undo,wsc'; config.skin = 'moono'; config.extraPlugins = 'xmltemplates'; config.extraPlugins = 'xml'; config.extraPlugins = 'ajax'; config.templates_files = xml:fcktemplates.xml?; config.templates_files = file:///C:/TestEditor/plugins/xmltemplates/sample/fcktemplates.xml?; config.templates_files = [‘xml : C:/TestEditor/plugins/xmltemplates/sample/fcktemplates.xml’]'; %REMOVE_END%

Define changes to default configuration here. For example: config.language = 'fr'; config.uiColor = '#AADC6E';

};

==============HTML==================== <!DOCTYPE html> <html>

<head>

<title>A Simple Page with CKEditor</title> <!-- Make sure the path to CKEditor is correct. --> <script src="ckeditor.js"></script>

</head> <body>

<form>

<textarea name="editor1" id="editor1" rows="10" cols="80">

This is my textarea to be replaced with CKEditor.

</textarea> <script>

Replace the <textarea id="editor1"> with a CKEditor instance, using default configuration. CKEDITOR.replace( 'editor1' );

</script>

</form>

</body>

</html>

Regards, Digvijay Chauhan

Change History (3)

comment:1 Changed 10 years ago by Digvijay Chauhan

Hi CKEditor

comment:2 in reply to:  description Changed 10 years ago by Digvijay Chauhan

It would be appreaciated if i get answer ASAP.

Regards, Digvijay Chauhan

Replying to digvijay:

Hi CKEditor Team,

I need your help on to load XML template on CKEditor version # (ckeditor_4.3.4_45ff4ed2c0e6).

Problem: Unable to load xml template on Editor.

I have tried all the possible combination as given on internet (http://ckeditor.com/forums/Plugins/XML-templates ) but did not find any progress.

Please following Item those may help you to understand the problem.

=========== Config.js ==============================

/

  • @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
  • For licensing, see LICENSE.html or http://ckeditor.com/license */

CKEDITOR.editorConfig = function( config ) {

%REMOVE_START% The configuration options below are needed when running CKEditor from source files. config.plugins = 'dialogui,dialog,about,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,clipboard,button,panelbutton,panel,floatpanel,colorbutton,colordialog,templates,menu,contextmenu,div,resize,toolbar,elementspath,enterkey,entities,popup,filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo,font,forms,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent,indentblock,indentlist,smiley,justify,menubutton,language,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastetext,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea,specialchar,scayt,stylescombo,tab,table,tabletools,undo,wsc'; config.skin = 'moono'; config.extraPlugins = 'xmltemplates'; config.extraPlugins = 'xml'; config.extraPlugins = 'ajax'; config.templates_files = xml:fcktemplates.xml?; config.templates_files = file:///C:/TestEditor/plugins/xmltemplates/sample/fcktemplates.xml?; config.templates_files = [‘xml : C:/TestEditor/plugins/xmltemplates/sample/fcktemplates.xml’]'; %REMOVE_END%

Define changes to default configuration here. For example: config.language = 'fr'; config.uiColor = '#AADC6E';

};

==============HTML==================== <!DOCTYPE html> <html>

<head>

<title>A Simple Page with CKEditor</title> <!-- Make sure the path to CKEditor is correct. --> <script src="ckeditor.js"></script>

</head> <body>

<form>

<textarea name="editor1" id="editor1" rows="10" cols="80">

This is my textarea to be replaced with CKEditor.

</textarea> <script>

Replace the <textarea id="editor1"> with a CKEditor instance, using default configuration. CKEDITOR.replace( 'editor1' );

</script>

</form>

</body>

</html>

Regards, Digvijay Chauhan

comment:3 Changed 10 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.3.4

CKEditor does not support loading XML templates. You are trying to use some 3rd party solutions. This is a bug tracker, not a forum.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy