The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
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, 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. |