How to wrap selected text within blockquotes?
  • Strangely, my bookmarklet that used to wrap selected text on a webpage within the block quote tags is no longer working.

    This is the javascript I was using for the bookmarklet:
    javascript:var%20baseUrl%20=%20'marsedit:';%20var%20url%20=%20baseUrl;var%20title%20=%20document.title;%20url%20=%20url%20+%20'title='%20+%20encodeURIComponent%20(title);%20var%20currentUrl%20=%20document.location.href;%20url%20=%20url%20+%20'&url='%20+%20encodeURIComponent%20(currentUrl);%20var%20selectedText;%20selectedText%20=%20getSelection%20();%20if%20(selectedText%20!=%20'')%20url%20=%20url%20+%20'&text='%20+%20encodeURIComponent%20(selectedText);document.location.href=url;

    This happened post-latest update. The default bookmarklet doesn't work either. I've specified #body# within the blockquote tags in Preferences > Quick Posts
  • If the default bookmarklet is not working either it makes me think it's more worth looking into why none of the bookmarklets are working rather than diving into the particulars of the bookmarklet you pasted. What happens when you try to use the bookmarklets? Does MarsEdit activate but not do anything? Does it not activate at all?
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!