The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there any way to use theme CSS from screen.css inside of CKEditor ?
#5
mvlcek Wrote:There can not be an automatic way, because
I see... but, as I know editining page it is an ordinary HTML page. This page created "on the fly" when I start editing from GS. Is it possible to "insert" into it one more style sheet? It may be placed on a fixed folder (thomething like ThemeStyle). Before I begin any work with site, I just copy to this folder content of themes files (screen.css, images folders, etc). So when editing page will created it will be use pre-prepared styles from this folder. The only problem is the name of css file

Quote:* the CSS file name differs between themes (in your theme it seems to be screen.css, but in others it's styles.css or default.css)

but it much more easy create template with fixed css file name (like screen.css) or simply edit existing desing replace somekind of styles.css with fixed screen.css. But editor ALWAYS will show WYSISWYG! The only dificult - applaying custom styles to the text. But it can be entered in pure HTML-mode.

Quote:you could have multiple themes installed, but only one can be used in the editor
this can be solved by providing combo box (like in selecting design) in page for editing form.
Reply


Messages In This Thread
Is there any way to use theme CSS from screen.css inside of CKEditor ? - by zencoder - 2011-11-14, 21:44:47



Users browsing this thread: 3 Guest(s)