Sha256: fbc2c24ba44a76550f4782b789686392bf7e42db088e5871a66ba1592a6b82a9
Contents?: true
Size: 772 Bytes
Versions: 4
Compression:
Stored size: 772 Bytes
Contents
/*! * medium-editor-insert-plugin v0.3.2 - jQuery insert plugin for MediumEditor * * https://github.com/orthes/medium-editor-insert-plugin * * Copyright (c) 2014 Pavel Linkesch (http://linkesch.sk) * Released under the MIT license */ !function(a){a.fn.mediumInsert.registerAddon("maps",{init:function(){this.$el=a.fn.mediumInsert.insert.$el},insertButton:function(a){var b="Map";return("fontawesome"===a||"object"==typeof a&&a.fontawesome)&&(b='<i class="fa fa-map-marker"></i>'),"object"==typeof a&&a.map&&(b=a.map),'<button data-addon="maps" data-action="add" class="medium-editor-action mediumInsert-action">'+b+"</button>"},add:function(b){a.fn.mediumInsert.insert.deselect(),b.append('<div class="mediumInsert-maps">Map - Coming soon...</div>')}})}(jQuery);
Version data entries
4 entries across 4 versions & 1 rubygems