Fixing width of Xinha editor in content-center
git-svn-id: https://svn.libreccm.org/ccm/trunk@2758 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
922f389bd7
commit
9358238257
|
|
@ -661,7 +661,7 @@ public abstract class TextAssetBody extends SecurityPropertyEditor
|
|||
|
||||
c.m_textWidget = new CMSDHTMLEditor(PageTextForm.TEXT_ENTRY);
|
||||
c.m_textWidget.setRows(25);
|
||||
c.m_textWidget.setCols(70);
|
||||
c.m_textWidget.setCols(40);
|
||||
// cg - sets FCKEditor size - closer to actual published page
|
||||
// width, and similar size as htmlarea.
|
||||
// could be configurable - unset means default 100% x 400px
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ xinha_config.formatblock =
|
|||
};
|
||||
|
||||
xinha_config.pageStyleSheets=[_editor_url+"examples/full_example.css"];
|
||||
xinha_config.width="90%";
|
||||
xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins);
|
||||
Xinha.startEditors(xinha_editors);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@
|
|||
<xsl:call-template name="processLabel">
|
||||
<xsl:with-param name="widget" select="."/>
|
||||
</xsl:call-template>
|
||||
<textarea id="ta_{@name}" name="{@name}" rows="{@rows}" cols="{@cols}" wrap="{@wrap}" style="width:100%">
|
||||
<textarea id="ta_{@name}" name="{@name}" rows="{@rows}" cols="{@cols}" wrap="{@wrap}">
|
||||
<xsl:value-of disable-output-escaping="no" select="text()"/>
|
||||
</textarea>
|
||||
</xsl:template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue