return true;
}
- /* Convert HTML frament to plaintext */
+ /* Convert HTML fragment to plaintext */
var ANNOT_FORBIDDEN = ['pt', 'pa', 'pr', 'pe', 'begin', 'end', 'theme'];
function html2plainText(fragment){
range.insertNode(tag[0]);
xml2html({
- xml: '<pr><slowo_obce>' + text + '</slowo_obce> --- </pr>',
+ xml: '<pe><slowo_obce>' + text + '</slowo_obce> --- </pe>',
success: function(text){
var t = $(text);
tag.replaceWith(t);
}).appendTo($box[0].offsetParent || $box.parent()).show();
if ($origin.is('.motyw')) {
- $('textarea', $overlay).autocomplete(THEMES, {
+ $('textarea', $overlay).autocomplete('/themes', {
autoFill: true,
multiple: true,
- selectFirst: true
+ selectFirst: true,
+ highlight: false
});
}