mirror of
https://github.com/ulaulaman/book-template.git
synced 2025-01-05 00:07:19 +01:00
Pulizia
This commit is contained in:
parent
4d68a5bd1f
commit
3a135f96c5
@ -1 +0,0 @@
|
|||||||
theme: jekyll-theme-leap-day
|
|
@ -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 );
|
|
||||||
})();
|
|
Loading…
Reference in New Issue
Block a user