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 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 861 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
Custom Styles not Displayed in Editor
#14
Hallo mvlcek,
mvlcek Wrote:Then the user can select the desired class from the styles dropdown and doesn't have to remember that highlighting is done with red - or was it light red?
This is exactly what I'm seeking.
mvlcek Wrote:
Alan-A Wrote:It works for me with such simple styles but I don't want to use them as they're coded directly into the HTML tag with something like " style='color:red;' ".
What I was wondering was if you have it working for your own classes, like the "Code" example you gave in your post #4, where the editor would enter something like " class='code' " into the HTML tag?
I don't understand your question.
I'm afraid I wasn't very exact....

I'm getting the formatting from my style sheet correctly displayed in the editing window when it is applied using the styles dropdown (In my case I've a class called "footnote" which causes text to be shown in italics).

What I was wondering is whether, taking your example from your post #12 above, when you open your styles dropdown, is the class name "Code" in the dropdown displayed in the 'Courier New',monospace; you define or is it displayed in some default style?

My "Footnote" name is, as you've probably guessed, not shown in italics in the dropdown, although once I've applied it, my text in the editing window is shown in italics.

Many thanks in advance,

A.
Web Developer and Translator (German > English)
Reply


Messages In This Thread
Custom Styles not Displayed in Editor - by Alan-A - 2011-09-18, 20:07:14
Custom Styles not Displayed in Editor - by Alan-A - 2011-09-18, 20:40:53
Custom Styles not Displayed in Editor - by Connie - 2011-09-18, 20:42:11
Custom Styles not Displayed in Editor - by mvlcek - 2011-09-18, 21:05:34
Custom Styles not Displayed in Editor - by Alan-A - 2011-09-19, 02:36:02
Custom Styles not Displayed in Editor - by Alan-A - 2011-09-28, 03:11:44
Custom Styles not Displayed in Editor - by Connie - 2011-09-28, 03:25:23
Custom Styles not Displayed in Editor - by Alan-A - 2011-09-28, 18:10:46
Custom Styles not Displayed in Editor - by Alan-A - 2011-09-30, 00:23:42
Custom Styles not Displayed in Editor - by mvlcek - 2011-09-30, 00:58:45
Custom Styles not Displayed in Editor - by Alan-A - 2011-09-30, 03:02:06
Custom Styles not Displayed in Editor - by mvlcek - 2011-09-30, 03:30:48
Custom Styles not Displayed in Editor - by Connie - 2011-09-30, 03:30:55
Custom Styles not Displayed in Editor - by Alan-A - 2011-10-03, 01:11:50
Custom Styles not Displayed in Editor - by mvlcek - 2011-10-03, 01:36:08
Custom Styles not Displayed in Editor - by Alan-A - 2011-10-03, 02:10:16



Users browsing this thread: 4 Guest(s)