Opened 6 years ago

Closed 6 years ago

#8773 closed Bug (invalid)

templates_files fails to load template files

Reported by: Daniel Sokolowski Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.6.2
Keywords: Cc: rotidekc@…

Description

templates_files setting loads only the last file specified; either the previous settings are overridden or skipped. The template files I am attempting to include are loaded correctly when specified individually, I have attached them just in case

Attachments (2)

common.js (3.7 KB) - added by Daniel Sokolowski 6 years ago.
template file used
chunks_chunk.js (1022 bytes) - added by Daniel Sokolowski 6 years ago.
template file used

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Daniel Sokolowski

Attachment: common.js added

template file used

Changed 6 years ago by Daniel Sokolowski

Attachment: chunks_chunk.js added

template file used

comment:1 Changed 6 years ago by Daniel Sokolowski

Cc: rotidekc@… added

comment:2 Changed 6 years ago by Jakub Ś

Keywords: templates template addTemplates removed
Resolution: invalid
Status: newclosed

This is because you have used CKEDITOR.addTemplates( 'default', for all the files while name for template should be the same as filename E.g. for file chunks_chunk.js CKEDITOR.addTemplates( 'chunks_chunk',

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy