style_popup = $('<div class="inline-style-popup">' +
'<button data-action="italic"><i>i</i></button>' +
'<button data-action="bold"><b>b</b></button>' +
- '<button data-action="code">#</button>' +
+ '<button data-action="code"><></button>' +
'<button data-action="removeFormat">×</button>' +
'<button data-action="createLink">a</button>' +
'<input name="link-target"/>' +
'</div>');
style_popup.hide();
- style_popup.insertAfter($('.actions'));
+ style_popup.insertAfter(document.body);
style_popup.find('button').on('click', update_style);
style_popup.find('[name=link-target]').on('keypress', validate_link).on('focusout', focusout_link);
}