The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Custom CSS in the TINY MCE - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Custom CSS in the TINY MCE (/showthread.php?tid=1469)



Custom CSS in the TINY MCE - bwaye - Jul 19th, 2011

I am trying to add specific CSS attributes to the CSS drop down in the Insert/Edit Pop up.

I can easily modify the css in the HTML view but clients will simply stare at me blankly if I prompt them to make changes to code.

ANy help would be appreciated.


RE: Custom CSS in the TINY MCE - Ben - Jul 20th, 2011

Hi bwaye,

What kind of options do you want to add? Totally custom stuff?

I took a look at the tinyMCE site, and it looks like it allows you to add in predefined formats, but I don't see any room for custom CSS...
http://tinymce.moxiecode.com/wiki.php/Configuration:theme_advanced_blockformats

- Ben


RE: Custom CSS in the TINY MCE - bwaye - Jul 23rd, 2011

(Jul 20th, 2011, 10:44 AM)Ben Wrote: Hi bwaye,

What kind of options do you want to add? Totally custom stuff?

I took a look at the tinyMCE site, and it looks like it allows you to add in predefined formats, but I don't see any room for custom CSS...
http://tinymce.moxiecode.com/wiki.php/Configuration:theme_advanced_blockformats

- Ben

Looking into it - will post back
Hey Ben -

The issue is that I want to apply a defined class to a hyperlink using the "class" drop down in the pop-up dialog box.

Currently the links default to a

This is an easy change using the HTML tab by placing class="c" to get he desired effect but as you know this is a little to much for some clients.


It seems one should be able to define a class within the drop down and have it applied to the hyperlink but I am unable to find a solution.

Is this a function of FT or Tiny?

Thanks


RE: Custom CSS in the TINY MCE - Ben - Jul 23rd, 2011

Hi Bwaye,

I'm afraid it's for tinyMCE (initially, at least). What I'd do is install tinyMCE locally then figure out how to do it. Once that's done, post back and we'll see how to tweak the tinyMCE in Form Tools to do it.

Unfortunately, this will be a Core change - so after making the change, you'd have to keep it in mind any time you chose to upgrade in the future, because it may get overwritten.

- Ben


RE: Custom CSS in the TINY MCE - sogreen - Oct 3rd, 2011

Is this something that has been addressed in any of the recent updates? I would like for the css applied on the website to be reflected in the wysiwyg field in formtools. Just don't know how to do it.