{"id":1147,"date":"2007-05-23T14:25:56","date_gmt":"2007-05-23T11:25:56","guid":{"rendered":"http:\/\/www.mummila.net\/nuudelisoppa\/index.php\/?p=1147"},"modified":"2007-05-23T14:25:56","modified_gmt":"2007-05-23T11:25:56","slug":"wordpress-quicktags-removing-lookup","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2007\/05\/23\/wordpress-quicktags-removing-lookup\/","title":{"rendered":"WordPress quicktags: removing &#39;lookup&#39;"},"content":{"rendered":"<p>The only <a href=\"http:\/\/wordpress.org\/support\/topic\/72744\">relevant thread<\/a> I found on WordPress support forums about this was closed to replies, so I&#8217;ll make a note of what I found here: removing the &#8216;lookup&#8217; quicktag button from the post editor can be achieved by commenting out line 196 (WP 2.2) of quicktags.js (which is in wp-includes\/js\/), like this:<\/p>\n<blockquote><p><code>\/*\tdocument.write('&lt;input type=\"button\" id=\"ed_spell\" class=\"ed_button\" onclick=\"edSpell(edCanvas);\" title=\"' + quicktagsL10n.dictionaryLookup + '\" value=\"' + quicktagsL10n.lookup + '\" \/&gt;');  *\/<\/code><\/p><\/blockquote>\n<p>No need to edit anything else, although I suppose you could comment out the <code>edSpell<\/code> function too, since after the change there should be no use for it.<\/p>\n<p>Note that at least in my Firefox\/Win I had to clean up the cache before reloading the post editor would reflect the change.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The only relevant thread I found on WordPress support forums about this was closed to replies, so I&#8217;ll make a note of what I found here: removing the &#8216;lookup&#8217; quicktag button from the post editor can be achieved by commenting out line 196 (WP 2.2) of quicktags.js (which is in wp-includes\/js\/), like this: \/* document.write(&#8216;&lt;input [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9387,20],"class_list":["post-1147","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-blog","tag-software"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=1147"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1147\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=1147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=1147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}