Opened 14 years ago
Last modified 13 years ago
#8852 reopened enhancement
Include stylesheets in editor Wysiwyg-mode
Reported by: | Itamar Oren | Owned by: | Itamar Oren |
---|---|---|---|
Priority: | normal | Component: | CkEditorPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Currently, the stylesheets are not propagated into the editor preview, so elements that should be rendered in some manner because of CSS are not rendered correctly (e.g. <span class="underline"> is not rendered with underline in editor.
Attachments (0)
Change History (3)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Replying to itamarost:
CSS are not rendered correctly (e.g. <span class="underline"> is not rendered with underline in editor.
This is fixed by replacing the HTML-Code <span class="underline">
by tag u
in __init__.py
. See Google-Groups for the discussion why Trac uses <span class="underline">
instead of tag u
.
comment:3 Changed 13 years ago by
Priority: | highest → normal |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
This is not what I meant in this ticket. The underline class was an example, not the main issue.
The CkEditorPlugin should be a Wysiwyg for TracWiki editing - this means that when you edit your page, the rendering in the editor should be the same as the rendering outside the editor (the style of href's, the font size of headings, the layout of tables, etc.)
In order to achieve this, the plugin should inject the actual stylesheets used for Trac rendering into the Wysiwyg editor.
(In [10922]) fixes #8850, #8851, #8852: implemented a lot of new functionalities, so named this version
1.1dev