Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#8851 closed enhancement (fixed)

Support all wiki markup and formatting

Reported by: Itamar Oren Owned by: Itamar Oren
Priority: highest Component: CkEditorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description


Attachments (6)

20110826 - aleuhe - tracwiki.js (12.4 KB) - added by aleuhe 13 years ago.
20110902 - tracwiki.js (12.4 KB) - added by aleuhe 13 years ago.
20110902_aleuhe_tracwiki.js (12.4 KB) - added by aleuhe 13 years ago.
ckeditor_plugin_1_1dev.patch (43.3 KB) - added by Franz 13 years ago.
new patch of version 1.1
CKIntegration-1.1dev-py2.6.egg (30.4 KB) - added by Franz 13 years ago.
installable egg of CKEditor v1.1dev, compiled by Py2.6
ckeditorplugin.zip (14.5 KB) - added by Franz 13 years ago.
zip file, containing all sources; almost identical when merging with patch (only images is not included in patch)

Download all attachments as: .zip

Change History (15)

comment:1 Changed 13 years ago by Itamar Oren

Status: newassigned

Experimentally implemented (HTML tags): P, H1, U, B, EM, STRONG, SPAN with underline class, OL-LI, UL-LI

Probably need to develop a more modular approach for HTML->TracWiki onversions... (that also allows for other plugins to enhance and extend)

Changed 13 years ago by aleuhe

comment:2 Changed 13 years ago by aleuhe

I extendend your experimatental approach for some more HTML Tags. As I have seen so far it works quite well with CKEditor 3.6 on Firefox 6 and IE 8.

comment:3 in reply to:  2 Changed 13 years ago by Itamar Oren

Replying to aleuhe:

I extendend your experimatental approach for some more HTML Tags. As I have seen so far it works quite well with CKEditor 3.6 on Firefox 6 and IE 8.

Great!

I will take a look, hopefully soon, and commit your contributions. Thanks!

comment:4 Changed 13 years ago by Itamar Oren

hmmm, seems I can't download the attachment in raw format (I get 404).

can you try uploading it again, with no white spaces in the filename? thanks.

Changed 13 years ago by aleuhe

Attachment: 20110902 - tracwiki.js added

Changed 13 years ago by aleuhe

Attachment: 20110902_aleuhe_tracwiki.js added

comment:5 Changed 13 years ago by Franz

I did some work for the CKEditorPlugin and so updated the version to 1.1dev:

uploaded file CKIntegration-1.1dev-py2.6.egg (sources in ckeditorplugin.zip, diff in ckeditor_plugin_1_1dev.patch) can handle now all buttons configured in config.js.sample

Further development highlights are:

  • syntax highlighting is wokring with 'Paste Code'-Button (requires pygments)
  • highlighting of some text (background-color or color) is working by styles or directly by font color; requires extended ColorMacro, which is included in uploaded files and also available in ticket 1605

The uploaded files should work, but actually I have only tested them in FF7. The upcoming tests will show, if there are more bugs. We would like to roll out this plugin for production use in upcoming week(s).

comment:6 Changed 13 years ago by Itamar Oren

Wow! This is some great work!

@aleuhe: Sorry for not doing anything with your patch so far. As there are no email notifications for attachments, I was unaware that you reuploaded it...

@framay: I'd love to merge and commit your work! Based on a half-hour try-run, I ran into some issues with it, so some more testing and improving might be needed. It might be misuse or mis-configuration on my side, so I'd like to check things with you. Will you be available on Google-chat / Skype? Please contact me at itamarost(at)gmail(dot)com.

comment:7 in reply to:  5 Changed 13 years ago by Franz

Replying to framay:

  • highlighting of some text (background-color or color) is working by styles or directly by font color; requires extended ColorMacro, which is included in uploaded files and also available in ticket 1605

I saw just now, that the functionality, which is provided by ColorMacro is already implemented as default in Trac, see http://trac.edgewall.org/wiki/WikiHtml#HowtoUseDivSpan. And using span- and div-macro is even more powerful.

I'll check if it is easy to change in tracwiki.js. This would reduce dependance of another package.

Changed 13 years ago by Franz

new patch of version 1.1

Changed 13 years ago by Franz

installable egg of CKEditor v1.1dev, compiled by Py2.6

Changed 13 years ago by Franz

Attachment: ckeditorplugin.zip added

zip file, containing all sources; almost identical when merging with patch (only images is not included in patch)

comment:8 Changed 13 years ago by Franz

Resolution: fixed
Status: assignedclosed

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

comment:9 Changed 13 years ago by Franz

I closed this ticket, since most of the tags are supported now with version 1.1dev. If there are any tags / functionalities missing, it would be best to open a new ticket with more specific requirements.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Itamar Oren.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.