![]() |
#1 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Change HTML in comment
Hi
I want to change automaticaly in my comment tags </p> by <br> and suppress <p> Have you un idea ? How to create un specific button or an personal function to apply this rules to my comment unitaryor for all comment for selected epub Thanks (sorry for my poor english) |
![]() |
![]() |
![]() |
#2 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
The plugin Mass Search/Replace can do what you're looking for. Once installed, on the Preference dialog, right-click and select "Import...", then import the attached file.
You could later assign a keyboard shortcut to quickly launch the operation. Last edited by un_pogaz; 07-21-2023 at 10:24 AM. |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Thank you, it's working . I just use french syntaxe . Mass search is very cool for using mutiple standard search&replace
Now i want to add before mass search on comment : - ctrlA (for select all) - delete format And on image - resize image Do you think is possible to add alll thios actions with one button ? on one books or multiple ebooks ? |
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,077
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Here you might want to start checking out the Action Chains plugin.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Indeed , this tool is more complete and works very well too . thanks
On the other hand, I don't see how to integrate specifics commands to the comment editing functions ( select , selecte , change format, ...) Edit : I find it with "Edit single field" !!!! But i can't use it ![]() Last edited by Doum; 07-27-2023 at 08:55 AM. |
![]() |
![]() |
![]() |
#7 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
For delete format in comments, I recomend Comments Cleaner which has a wide choice of cleaning option in comment field.
"Mass Search/Replace" and "Comments Cleaner" can be executed by "Action Chains", this 3 are a powerful combo. I would notice that I created "Mass Search/Replace" to make multiple search/replace operation with a more ergonomic and readable configuration system than "Action Chains". The implementation of "Action Chains" is good for one or two search/replace operation, but if you wanted to do more than 3-4, it quickly becomes unreadable and complicated. With only one operation, your good (for now). And about 'resize image': You said resize the cover image? I don't think it's possible in any plugin. I recommend you ask for help in the thread Action Chains. Last edited by un_pogaz; 07-27-2023 at 04:46 PM. |
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Thank , but after install, i have no more error but , i cant realy use it.
I tried some icone from editing (select all, center ....) but it's seems that i forget something. have you an documentation on this functionnality please ? The comment is empty during creating filed, how i can charge whith my selection from epub and just apply icon functionnality ? Ps : it's an fantastic and power tool !!, i can put also automaticaly French language . Last edited by Doum; 07-29-2023 at 10:18 AM. |
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
This functionality is not there for modifying pre-existing comments. It is for creating new comments, on which you can use the toolbar icons. If you want to modify existing comments, use the Search And Replace action.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot change order of HTML Pages | Hschwickart | Sigil | 3 | 02-09-2023 09:21 AM |
set_metadata -f comment does mesup my HTML | tycho | Library Management | 2 | 09-11-2020 03:07 AM |
Metadata comment changes in HTML not saved | calvin-c | Calibre | 1 | 08-10-2020 02:50 AM |
Empty comment not identified by comment:false search | madeleinelevy | Library Management | 11 | 03-22-2019 06:36 PM |