{"id":178365,"date":"2018-12-22T18:20:00","date_gmt":"2018-12-22T23:20:00","guid":{"rendered":"https:\/\/www.panix.com\/~msaroff\/40years\/2018\/12\/22\/bbcodewebex-custom-tags-advanced-use\/"},"modified":"2018-12-22T18:20:00","modified_gmt":"2018-12-22T23:20:00","slug":"bbcodewebex-custom-tags-advanced-use","status":"publish","type":"post","link":"https:\/\/www.panix.com\/~msaroff\/40years\/2018\/12\/22\/bbcodewebex-custom-tags-advanced-use\/","title":{"rendered":"bbCodeWebEx Custom Tags &#038; Advanced Use"},"content":{"rendered":"<p><a href=\"https:\/\/www.panix.com\/~msaroff\/badhair\/badhair.jpg\"><img decoding=\"async\" src=\"https:\/\/www.panix.com\/~msaroff\/badhair\/badhair.jpg\" style=\"cursor: pointer; float: right; margin: 0px 0px 10px 10px;\" width=\"200\" \/><\/a><\/p>\n<h3>Available codes:<\/h3>\n<p>(Note: these are <b>case sensitive<\/b>, and they can be used multiple times in a single menu.) <\/p>\n<ul>\n<li><code>{{clipboard}}<\/code>: This pastes in the current clipboard contents where it is placed.<\/li>\n<li><code>{{selection}}<\/code>: This pastes in the currently selected texts where it is placed.<\/li>\n<\/ul>\n<p>Example: <code>[url={{clipboard}}]{{selection}}[\/url]<\/code><br \/>So if you copy a url, and select text, this would add a link to it for bbCode, and around the code words are double curly braces, &#8220;<b>{}<\/b>&#8220;.<\/p>\n<p>Here is an example of using the tag more than once.<\/p>\n<p>This right justifies an image, sizes it to 200 pixels wide, and adds a link to the fullsize image that pops up in blogger:<\/p>\n<p><code>&lt;a href=\"{{clipboard}}\"&gt;&lt;img src=\"{{clipboard}}\" style=\"margin: 0px 0px 10px 10px; float: right; cursor: pointer;\" width=\"200\"&gt;&lt;\/a&gt;<\/code><\/p>\n<p>Nice picture, huh?<\/p>\n<p>Don&#8217;t hate me because I&#8217;m beautiful.<\/p>\n<p><\/p>\n<h3>JSON array format:<\/h3>\n<p>It is basically a text format (UTF-8 character set) that this extension uses to externally save data.<\/p>\n<p>Here are the first three standard custom tags that come with the extension.  <\/p>\n<p>Note that the last one does <b>NOT<\/b> have a comma after the closing curly brace.<\/p>\n<p>Theoretically, you could manually edit these, and if you wanted to combine two sets of custom tags, you could with a cut and paste, making sure that all of the closing closing braces are followed by a comma, except for the last one.<\/p>\n<pre>[<br \/>  {<br \/>    \"menuId\": \"bbcwbx.custom.001\",<br \/>    \"menuTitle\": \"First custom menu\",<br \/>    \"parentId\": \"bbcwbx.custom\",<br \/>    \"menuArg\": \"Arg 1\",<br \/>     \"icons\": \"\"<br \/>  },<br \/>  {<br \/>    \"menuId\": \"bbcwbx.custom.002\",<br \/>    \"menuTitle\": \"Second custom menu\",<br \/>    \"parentId\": \"bbcwbx.custom\",<br \/>    \"menuArg\": \"Arg 2\",<br \/>     \"icons\": \"\"<br \/>  },<br \/>  {<br \/>    \"menuId\": \"bbcwbx.custom.003\",<br \/>    \"menuTitle\": \"Third custom menu\",<br \/>    \"parentId\": \"bbcwbx.custom\",<br \/>    \"menuArg\": \"Arg 3\",<br \/>     \"icons\": \"\"<br \/>  }<br \/>]<\/pre>\n<p>The indents and the new lines here just for readability.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Available codes: (Note: these are case sensitive, and they can be used multiple times in a single menu.) {{clipboard}}: This pastes in the current clipboard contents where it is placed. {{selection}}: This pastes in the currently selected texts where it is placed. Example: [url={{clipboard}}]{{selection}}[\/url]So if you copy a url, and select text, this would add &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[651],"class_list":["post-178365","post","type-post","status-publish","format-standard","hentry","tag-bbcodewebex"],"_links":{"self":[{"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/posts\/178365"}],"collection":[{"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/comments?post=178365"}],"version-history":[{"count":0,"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/posts\/178365\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/media?parent=178365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/categories?post=178365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.panix.com\/~msaroff\/40years\/wp-json\/wp\/v2\/tags?post=178365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}