Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-02-2020, 11:15 AM   #1
vFbjgBDhV
Member
vFbjgBDhV began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Nov 2020
Device: none
CSS support in the editor

Does the editor file preview support CSS Text Module Level 3?

Does the viewer support it too?
vFbjgBDhV is offline   Reply With Quote
Old 11-02-2020, 11:27 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,237
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
They are both chrome, so they support whatever chrome suports.
kovidgoyal is online now   Reply With Quote
Advert
Old 11-02-2020, 12:23 PM   #3
vFbjgBDhV
Member
vFbjgBDhV began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Nov 2020
Device: none
Well, I've the following lines in my CSS

Code:
body {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
but the text in the editor file preview and in the Calibre previewer isn't changed wether I add the aforementioned lines or do not add them.

Is it normal?
vFbjgBDhV is offline   Reply With Quote
Old 11-02-2020, 02:32 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,564
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by vFbjgBDhV View Post
Well, I've the following lines in my CSS

Code:
body {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
but the text in the editor file preview and in the Calibre previewer isn't changed wether I add the aforementioned lines or do not add them.

Is it normal?
Yes is it is normal because preview does not support hyphenation.
JSWolf is offline   Reply With Quote
Old 11-02-2020, 09:17 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,237
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by vFbjgBDhV View Post
Well, I've the following lines in my CSS

Code:
body {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
but the text in the editor file preview and in the Calibre previewer isn't changed wether I add the aforementioned lines or do not add them.

Is it normal?
yes chrome doesnt support hyphenation on platforms other than macOS.
kovidgoyal is online now   Reply With Quote
Advert
Old 11-03-2020, 09:25 AM   #6
vFbjgBDhV
Member
vFbjgBDhV began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by kovidgoyal View Post
yes chrome doesnt support hyphenation on platforms other than macOS.
Good to know. Thanks for the answer.
vFbjgBDhV is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some css are automatically removed by Editor nqk Editor 6 07-20-2020 01:32 AM
Calibre editor e-reader html statusbar popup with css ni_cc Editor 5 03-15-2020 08:36 AM
a-z css editor solution rjwse@aol.com Editor 4 04-07-2018 01:09 PM
CSS support in Tolino 3HD chaot More E-Book Readers 2 01-05-2017 04:09 AM
Tweak epub and Simple CSS Editor Shadowman123 Calibre 11 09-30-2010 10:07 AM


All times are GMT -4. The time now is 07:26 AM.


MobileRead.com is a privately owned, operated and funded community.