View Single Post
Old 10-10-2014, 07:31 AM   #1
hpstricker
Member
hpstricker began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jul 2008
Device: Sony PRS 505, iPad
Adding buttons to the toolbar

Is it possible to add buttons to the Sigil-toolbar (performing some action in the HTML source with respect to the actual cursor position or selection)?

For example:
  • "wrap selected text inside <span class='x'>"
  • "wrap the active paragraph inside <div class='y'>"

Do I have to do it in the C++ sources, or is there an easier way?
hpstricker is offline   Reply With Quote