Thread: Two requests
View Single Post
Old 03-18-2014, 07:25 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Hoods7070 View Post
I too am relatively inexperienced, which is why I asked the question. theducks differentiates between all the other buttons presently on the Editor toolbar (code) and text alignment (apparently wysiwyg, not code) and I find that confusing. I am completely self-taught, so such purist distinctions are currently way above my head.

I DO code text alignment into major styles (such as "H" class headings) and have a class defined for centering in my CSS which I can easily add to coding as needed. However, until and even if, a clip feature is added to Editor, having a button for text alignment (span style coding) seems like an obvious thing...to this little black duck, anyway. I am happy to be enlightened!
It sounds like this might be the underlying problem: bold/italics/color and stuff like that can be wrapped around a single word, if need be in a span tag, but text-align and stuff like that must be used on a div/p/blockquote section and cannot be applied specifically to a certain word. And that means calibre would have to hunt down the parent tag, then analyze it to strip out any alignment code currently there, then apply new alignment code on that parent element.

So anything that can be wrapped with a span tag around selected words can get a button, but if it cannot fit in a span tag I don't think it will get done. Or at least it will be a low priority, only for when Kovid gets bored with everything else he has to do.
eschwartz is offline   Reply With Quote