View Single Post
Old 11-28-2015, 06:09 PM   #19
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Simply add a unique tag or id or class name to current tab where you want the insert to occur and invoke the plugin. The plugin will get the list of the current xhtml file (highlighted in the BookBrowser) and can easily look for the unique tag, or id or class name to get any insertion point and substitute anything you want inside the plugin.
KevinH
That would certainly work, but, IMHO, it'd be much easier if the OP simply pressed CTRL+SHIFT+I and directly selected the image inserted by the plugin.

Somehow I don't feel inclined to add code that'd save the OP one key-press and one mouse-click.
Doitsu is offline   Reply With Quote