/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ // Register a templates definition set named "default". CKEDITOR.addTemplates( 'default', { // The name of sub folder which hold the shortcut preview images of the // templates. imagesPath : CKEDITOR.getUrl( CKEDITOR.plugins.getPath( 'templates' ) + 'templates/images/' ), // The templates definitions. templates : [ { title: 'Image and Title', image: 'template1.gif', description: 'One main image with a title and text that surround the image.', html: '

' + '' + 'Type the title here'+ '

' + '

' + 'Type the text here' + '

' }, { title: 'Strange Template', image: 'template2.gif', description: 'A template that defines two colums, each one with a title, and some text.', html: '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
' + '

Title 1

' + '
' + '

Title 2

' + '
' + 'Text 1' + '' + 'Text 2' + '
' + '

' + 'More text goes here.' + '

' }, { title: 'Text and Table', image: 'template3.gif', description: 'A title with some text and a table.', html: '
' + '

' + 'Title goes here' + '

' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
' + 'Table title' + '
   
   
   
' + '

' + 'Type the text here' + '

' + '
' } ] });