View Single Post
Old 07-20-2016, 09:19 AM   #9
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
I'm having a problem with an Editor plugin Tool which changes CSS rules.

If I have an HTML file open in the Editor and run the CSS-changer plugin I can see from Show Diffs that the changes have been made, however the new CSS has not been applied to the Preview panel for the open HTML editor. The changes don't show in the Live CSS panel either.

I can reproduce this by installing your sample Editor 'Magnify fonts' Tool.
  • Install demo 'Magnify fonts'
  • Open an epub in the Editor and open an HTML file
  • Run 'Magnify fonts'. The Preview panel remains unchanged

I can manually kick-start Preview and Live CSS by any of these methods, but I'd rather not have to if there's a better way:
  • double-clicking the CSS file in the Files Browser
  • typing something (even a space) in the already-open HTML editor
  • opening a new HTML file, then tabbing back to the original HTML
Any suggestions?

ETA: In case it matters calibre v2.62 Win10

Last edited by jackie_w; 07-20-2016 at 09:21 AM. Reason: ETA
jackie_w is offline   Reply With Quote