mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fix for button insert.
This commit is contained in:
@@ -43,7 +43,7 @@ $(document).ready(function()
|
||||
var buttonClass = (buttonType != '') ? 'btn-'+buttonType : '';
|
||||
|
||||
|
||||
var html = '<a class=\"btn ' + buttonClass + ' ' + buttonSize + '\" href=\"' + buttonUrl + '\" >' + buttonText + '</a>';
|
||||
var html = '<a class=\"btn ' + buttonClass + ' ' + buttonSize + '\" href=\"' + buttonUrl + '\" >' + buttonText + '</a> ';
|
||||
// alert(html);
|
||||
tinyMCEPopup.editor.execCommand('mceInsertContent', false, html);
|
||||
tinyMCEPopup.close();
|
||||
|
Reference in New Issue
Block a user