1
0
mirror of https://github.com/ulaulaman/book-template.git synced 2024-12-30 17:47:32 +01:00
This commit is contained in:
ulaulaman 2021-10-21 17:37:09 +02:00
parent 4d68a5bd1f
commit 3a135f96c5
2 changed files with 0 additions and 20 deletions

View File

@ -1 +0,0 @@
theme: jekyll-theme-leap-day

View File

@ -1,19 +0,0 @@
/**
* TinyMCE buttons for custom shortcodes
*/
( function() {
tinymce.create( 'tinymce.plugins.Bookdata', {
init: function( ed, url ) {
ed.addButton( 'bookdata', {
title: 'Bookdata',
/** image: url + '/img/tinymce-sample.png', */
onclick: function() {
title = prompt( "Enter title", "" );
ed.execCommand( 'mceInsertContent', false, '[bookdata title="' + title + '"]' );
}
});
},
createControl: function( n, cm ) { return null; },
});
tinymce.PluginManager.add( 'bookdata', tinymce.plugins.PilauSample );
})();