View Single Post
Old 02-23-2026, 03:38 PM   #1
jjk
Connoisseur
jjk began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
Enhance insert tag/fragment tool

In Calibre editor, currently we have two tools (amongst others) which are very useful for my needs :
1) The "Insert a tag" tool which allows to open a tag before selected text and to close it after selected text
2) The "fragment" tool which allow to insert some structured text by hitting Control+J just after have entered some trigger text
Is there a way to have the possibility, like the insert tag tool, to open a tag with attributes before selected text and to close it after selected text.
Example :
I select "blabla" then I use Insert_a_tag tool "p". It is transformed to
Quote:
<p>blabla</p>.
I wish to be able to transform it in
Quote:
<p class="myclass" lang="fr-FR">blabla</p>
It is a little similar to fragment tool, but in this one, inserted texts are entered by user after having hit Ctrl-J.

If there is no way, Kovid, could you add that feature ?
jjk is offline   Reply With Quote