1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Issue #153 - add extra space after button insert.

This commit is contained in:
Cameron
2013-04-02 16:35:13 -07:00
parent b91b04b8b7
commit afb2f5bd48

View File

@@ -43,7 +43,7 @@ $(document).ready(function()
var buttonClass = (buttonType != '') ? 'btn-'+buttonType : ''; 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); // alert(html);
tinyMCEPopup.editor.execCommand('mceInsertContent', false, html); tinyMCEPopup.editor.execCommand('mceInsertContent', false, html);
tinyMCEPopup.close(); tinyMCEPopup.close();