AW: [opencms-dev] WYSIWYG editor: styles outfit

Prestel, Marianne prestel at itiv.uni-karlsruhe.de
Mon Mar 4 10:06:50 CET 2002


Hi Manfred,

I had the same problem, also after the update to version 4.4.6.
In earlier versions, I worked only with mastertemplates and elements (in
folder "internal"). After the reorganisation resp. the new projectorganism
(mastertemplates, frametemplates, contenttemplates and elements), the style
was ultimately displayed in the wysiwyg editor!

Regards Marianne

-----Ursprüngliche Nachricht-----
Von: Manfred Pruntsch [mailto:manfred.pruntsch at ifcos.com]
Gesendet: Montag, 4. März 2002 00:49
An: Framefab Deutschland AG
Betreff: [opencms-dev] WYSIWYG editor: styles outfit


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