Modify

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 Franz

Resolution: fixed
Status: newclosed

(In [10922]) fixes #8850, #8851, #8852: implemented a lot of new functionalities, so named this version 1.1dev

comment:2 in reply to:  description Changed 13 years ago by Franz

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 Itamar Oren

Priority: highestnormal
Resolution: fixed
Status: closedreopened

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain Itamar Oren.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.