iconmanagermodel.tpl 414 B

12345678910111213141516
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. 'use strict';
  6. import Model from '../ckeditor5/ui/model.js';
  7. const iconIds = [ {{#shapes}}'{{name}}',{{/shapes}} ];
  8. const iconPrefix = 'ck-icon-';
  9. export default new Model( {
  10. icons: iconIds.map( i => i.slice( iconPrefix.length ) ),
  11. sprite: `{{#shapes}}{{{svg}}}{{/shapes}}`
  12. } );