09-25-2020, 04:29 AM | #1 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2020
Device: Tablet
|
Delete complete tag
Hi,
lets say i have the following code Code:
<p><span>some long text. more text.</span></p> |
09-25-2020, 09:19 AM | #2 |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Diaps toolbag plugin
It is listed in the Get Plugins part of the Calibre Help icon |
09-25-2020, 02:25 PM | #3 |
Addict
Posts: 384
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Ubuntu, Jutoh,Kobo Forma
|
I usually just search for <span> and replace with nothing...then hit the correct html (all files) button and then the beautify code button. That cleans it all up.
|
09-25-2020, 02:54 PM | #4 |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
|
09-25-2020, 04:31 PM | #5 |
Grand Sorcerer
Posts: 6,229
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
For some cases like that, I use this plugin.
|
09-25-2020, 05:02 PM | #6 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2020
Device: Tablet
|
I'v eimported the plugin in calibre, not calibre editor because i couldn't find something for that in the editor. how can i use the plugin now?
is there something similar for sigil? the last days i've tested sigil again and it looks nice. |
09-25-2020, 08:44 PM | #7 |
null operator (he/him)
Posts: 20,555
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
In Sigil try the Tag Mechanic PI, its from the same stable.
BR |
09-25-2020, 09:03 PM | #8 | |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
OR on the editors Plugins menu: Edit Spans and Divs Note: the name is misleading. It does a lot more than just Spans or Divs |
|
09-28-2020, 04:39 AM | #9 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2020
Device: Tablet
|
I thought its easier to delete the whole tag. DEL deletes the next character and when i'm "in" a tag i thought something like CTRG+DEL or ALT+DEL can delete the whole tag.
Code:
<sp|an id=bla">a long text</span> |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tag Editor - Delete multiple categories? | weberr | Library Management | 13 | 09-16-2018 03:04 PM |
How do I delete a User-Defined tag? | phossler | Editor | 7 | 04-19-2015 08:49 PM |
Delete Tag Slows/Freezes Calibre | Alphite | Library Management | 3 | 05-26-2014 01:29 PM |
How to delete a tag? | TdeV | Calibre | 5 | 06-19-2011 10:10 PM |
Feature Request: Delete Tag from filter listbox | carpii | Calibre | 2 | 02-28-2010 02:51 AM |