[opencms-dev] WYSIWYG editor: styles outfit
Manfred Pruntsch
manfred.pruntsch at ifcos.com
Mon Mar 4 00:48:38 CET 2002
Hi all,
when I'm opening a page for editing then the styles aren't displayed. But
the stylesheet itself is working properly in IE and WYSIWYG preview (the
zoom tool on right side).
In text mode the body between <![CDATA ... ]] is shown. It has to be got an
environment (for example body, html tags a.s.o.) for running. Why not the
style tag (link rel=...)?
The doc says: "... WYSIWYG-behaviour can be realized even when using
stylesheets." (chapter 8).
My code:
<?xml version="1.0"?>
<XMLTEMPLATE>
<stylesheet>content/scripts/abcstyles.css</stylesheet>
<TEMPLATE><![CDATA[
<HTML>
<HEAD>
<TITLE>]]><method name="getTitle"/><![CDATA[</TITLE>
<meta name="description" content="]]><method
name="getDescription"/><![CDATA[">
<meta name="keywords" content="]]><method
name="getKeywords"/><![CDATA[">
<link rel=stylesheet type="text/css" href="]]><method
name="getServletPath"/><![CDATA[content/scripts/abcstyle.css">
</HEAD>
...
It looks good, isn't it?
Does the documentation mean the preview with WYSIWYG-behaviour?
Manfred
More information about the opencms-dev
mailing list