![]() |
#1 |
Enthusiast
![]() Posts: 40
Karma: 10
Join Date: Dec 2016
Device: Kindle
|
![]() ![]() But in the second editor window - Normal View and HTML - I put more coded markup language (and have even gotten used to using AI to generate what would often be tedious code ![]() This way I can edit it without all the clutter from the programmed window's description of the book or lesson. But I was wondering - I don't know if this could be added (I don't know if the HTML editor is a package that can't be changed (added to)) - but would like to see this if possible in a near future update. I am in the habit of using the html comment tags when entering data - especially when using Copilot to generate it - to do it in chunks - most often utilizing tables - that because of the character limit 9REALLY SMALL) in Microsoft's CoPilot (I hope as time goes on - this will be increased) - I have the code broken into logical chunks - and mark these chunks with the comment tag. In case I have to go back and redo something - which even with AI is common - it ain't that intelligent) That is fine as long as I don't submit it - because the editor automatically in rendering it into simplified html - and even adding corrections or closing tags (even when not necessary such as </p>) - which is a great feature in itself. Then I lose those chunk marker comment tags - and any others I would like to use to indicate particular sections of the code. So if I go back to edit after submitting html code - I have to hunt around in the compact code that is generated by the editor - and have no way of leaving hint comments to locate something that might need to be edited. As it is the editor recognizes comment tags <!-- --> by indicating them in green when I paste them in - but again only to be lost after submission - but it seems the editor could be tweaked to keep those tags and the color - which make it easy to find sections of code marked by them. I am not sure how many other users utilize the html markup and editor function - or how many might use it as heavily as I do. But if this is possible - and relatively easy to implement - it would be a great help and a wonderful addition for a near future update. ![]() Thanks for listening |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,797
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Is the term "html markup and editor function" referring to this?
If it is, that feature more commonly referred to as the "comments editor" or the "long text column editor". BR |
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,433
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Unfortunately, IIRC comments are deliberately removed from the markup because they cause issues with Qt Rich Text parser (the component used to render the HTML in these controls).
If you want to leave small hints you can do so by adding id attributes and leaving your hint in there. Qt leaves those alone, I believe. |
![]() |
![]() |
![]() |
Tags |
comment tags, editor, html, metadata |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature Request: Non-modal Metadata Editor Window | Katsunami | Calibre | 15 | Today 09:02 AM |
Book Editor Window | pscaffidi | Calibre | 3 | 04-12-2025 09:49 AM |
No files in editor window | JohnSundman | Editor | 5 | 01-26-2024 01:55 PM |
Spell Checker window on top of Editor window | Calibre-Fan | Editor | 3 | 01-30-2016 11:48 AM |
Editor Window settings | BetterRed | Editor | 17 | 04-18-2014 04:51 AM |