Re: [Hypercontent-users] CSS list in TinyMCE
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-08-09 13:40:54
|
I don't think TinyMCE supports ID insertion from the dropdown, only class names. Sorry! On Aug 9, 2007, at 7:37 AM, Carl P Barrow wrote: > Thanks Alex, > > That works. It just displays classes in there, is there a way to > get it to display IDs ? for example: > > #centrebox > > Cheers > Carl > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************* > > > > > -----Original Message----- > From: hyp...@li... on behalf of > Alex Vigdor > Sent: Wed 8/8/2007 15:28 > To: hypercontent List > Subject: Re: [Hypercontent-users] CSS list in TinyMCE > > Hi Carl, > Actually, the recommended approach is to override the pipeline > declaration in your project's /config/pipelines.xml. From there you > can pass in the content-css parameter. Here is a sample from the CAS > site: > > <pipelines> > <pipeline name="xml" mode="xml-edit" basedir="/" content- > type="text/ > html" permissions="read,write"> > <open-file/> > <bind-form > processor="org.hypercontent.form.xml.XmlFormProcessor" > as="xml-form"/> > <exec stage="org.hypercontent.form.xml.XmlPrepStage"/> > <exec > stage="org.hypercontent.project.engine.stage.XSLTransformStage"> > <with-param name="source" value="/screens/ > modal-xml-tiny-mce.xsl"/> > <with-param name="content-css" value="/ > config/skins/cas/styles.css"/> > <with-param name="localize-with" value="/ > l10n/xml"/> > </exec> > </pipeline> > </pipelines> > > Cheers, > Alex > > On Aug 7, 2007, at 11:35 AM, Carl P Barrow wrote: > > > Hi Alex, > > > > I'm sure I have asked this before but I can't find it in the > > mailing list. > > > > If I want to assign a CSS which is accessible from the style drop- > > down box in TinyMCE do I need to change the following like in / > > screens/modal-xml-tiny-mce.xsl in the bootstrap repository. > > > > <xsl:param name="content-css" select="false()"/> > > > > to > > > > <xsl:param name="content-css" select="http://www.hull.ac.uk/dir/ > > file.css"/> > > > > and if I put modal-xml-tiny-mce.xsl in a /screens directory within > > a single project will that allow a project specific set of styles? > > > > Cheers > > Carl > > > > ************************************* > > > > Carl Barrow > > Systems Integrator > > e-Services > > The University of Hull > > Cottingham Road > > Hull > > HU6 7RX > > Ext. 6838 > > > > ************************************* > > > > > > > > > ********************************************************************** > > ******************* > > To view the terms under which this email is distributed, please go > > to http://www.hull.ac.uk/legal/email_disclaimer.html > > > ********************************************************************** > > > *******************--------------------------------------------------- > > ---------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Hypercontent-users mailing list > > Hyp...@li... > > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > ********************************************************************** > ******************* > To view the terms under which this email is distributed, please go > to http://www.hull.ac.uk/legal/email_disclaimer.html > ********************************************************************** > ******************* |