[Geany-devel] New plugin: embrace
frank at xxxxx
Sat Jul 25 20:11:47 UTC 2009
On Sat, 18 Jul 2009 09:20:58 +0200
Prim András <pa at primandras.hu> wrote:
> Frank Lanitz írta:
> > On Fri, 17 Jul 2009 23:12:00 +0200
> > Jonas Haag <jonas at jonashaag.de> wrote:
> >> Prim András<pa at primandras.hu> wrote:
> >>> I wrote a plugin that embraces the selection in configurable text.
> >> I don't get what it does.
> > To be honest, me neither. Can you please go into detail with an
> > example maybe?
> Yes, of course. (It seems I'd have to avoid writing letters at
> midnight. :)
> So it adds a new toolbar as seen in the screenshot
> When I write my HTML and want a word to be bold, then I select it,
> press the italic button on the toolbar and it will add "<i>" before
> and "</i>" after the selection.
Why not using <strong>? SCNR.
> Furthermore it is possible to configure it, so that when one presses
> the image button, it pops a dialog as seen in the screenshot, where
> one can choose a file with a file chooser dialog, write a label, pick
> an alignment from the predefined list and write a class name, or
> choose one that is used earlier. And when pressing OK it will add a
> nice <img /> tag with the appropriate attributes filled in.
Are you doing some check for XHTML/HTML and their different versions?
Frank Lanitz <frank at frank.uvena.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Devel