Quote from: ZAP at Jan 23, 2007, 11:26 AM
If you create a separate stylesheet for TinyMCE and set the path to it in the configurations you can make it show you your content as it will appear in the public web page by removing any specific styles that don’t apply within TinyMCE.
You’re absolutely right. Do you think the neatest thing would then be to include 2 CSS files in my template to avoid duplication of styles?
Thanks for continuing great advice.
-
MODX Staff
- 12,272 Posts
Short solution: Use Fx
Longer term: wait for the coming update to Tiny MCE 2.0.9
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Are you trying to do this from the front-end or within the manager? If you’re trying to use the resource browser from the front-end (ie. a richtext template variable instance), I’m afraid that won’t work. Reason is that the resource browser is heavily dependent on a manager session to work properly. Plus, it opens up a slew of security problems.
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
It’s possible to define a custom button for a special element? And if yes: how?
I would have a button (or a workaround instead) to set a q-element around words in my text. And I would have this without setting it in html-view. Can’t find any comments in this forum. And yes I know the customizing via plugin configuration for tinymce (to disable buttons) and via general config to set customized styles. But it won’t help for a q-element.
Quote from: rasc at Feb 14, 2007, 01:43 PM
It’s possible to define a custom button for a special element? And if yes: how?
I would have a button (or a workaround instead) to set a q-element around words in my text. And I would have this without setting it in html-view. Can’t find any comments in this forum. And yes I know the customizing via plugin configuration for tinymce (to disable buttons) and via general config to set customized styles. But it won’t help for a q-element.
There might be a custom plugin for this on the MoxieCode site (
http://tinymce.moxiecode.com). Other than that, I would need to sit down and figure out how to create a custom plugin for TinyMCE...which is perhaps the one thing I haven’t done yet with TinyMCE.
Jeff
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."