/**
 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md 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: 'LEVÝ s textem',
		image: 'template1.gif',
		description: 'Obrázek zarovnaný vlevo',
		html: '<div class="img left">' +
			// Use src=" " so image is not filtered out by the editor as incorrect (src is required).
			'<img src="/pagedata/ckfinder/images/noimage.jpg" alt=" " />' +
			'</div>' +
			'<p>' +
			'Zde vepište text' +
			'</p>'
	},
	{
		title: 'PRAVÝ s textem',
		image: 'template2.gif',
		description: 'Obrázek zarovnaný vpravo',
		html: '<div class="img right">' +
			// Use src=" " so image is not filtered out by the editor as incorrect (src is required).
			'<img src="/pagedata/ckfinder/images/noimage.jpg" alt=" " />' +
			'</div>' +
			'<p>' +
			'Zde vepište text' +
			'</p>'
	},
	{
		title: 'Soubor',
		image: 'template3.gif',
		description: 'Odkaz na soubor',
		html: '<a href="" class="file" download>'+
			'<span class="file__name">Název souboru (.pdf)</span>'+
			'<span class="file__size">468 kB</span>'+
			'<span class="file__download">Stáhnout</span>'+
			'</a>'
	} ]
} );
