Thanks Marco for giving me this idea. It was a very simple solution at the end, there is this code around line 160 jquery.markitup.css
li = $('<li class="markItUpButton markItUpButton'+t+(i)+' '+(button.className||'')+'"><a href="" '+key+' title="'+title+'">'+(button.name||'')+'</a></li>')
.bind("contextmenu", function() {
return false;
}).click(function() {
Changing attitudes <a href=""and </a>to <spanand </span>with respect, and then change all references to "a" in the stylesheet to "span" and the addition of the cursor: pointer, it seems, did the trick.
I hope someone using markitup finds this useful, and thanks again to Marco for the tip in the right direction
source
share