Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
BB-Code-like mechanism by which strings enclosed in square brackets can serve as shorthand for longer and more complicated strings. These strings are processed by callback handlers, usually on page load, which replace the bracket enclosed string with the output from the callback handler.
1
vote
1
answer
534
views
accessing wp.media api from a tinymce plugin
I'm trying to create a tinymce plugin that generates a shortcode containing two image ids:
[image-fade old="xx" new="yy"]
I would like to let users select images directly from the media selector frame … tinymce.PluginManager.add( 'hh_image', tinymce.plugins.hhImage );
})();
The media selector window will open, and I can select two images, but nothing gets logged to the javascript console and the shortcode …
0
votes
accessing wp.media api from a tinymce plugin
I have a working solution that uses Promises, but it is ugly and I would certainly appreciate tips. I haven't been able to figure out how tot instantiate a subclass of promises, so the code is repeti …