Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#8851 closed enhancement (fixed)

Support all wiki markup and formatting

Reported by: itamarost Owned by: itamarost
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 3 years ago.
20110902 - tracwiki.js (12.4 KB) - added by aleuhe 3 years ago.
20110902_aleuhe_tracwiki.js (12.4 KB) - added by aleuhe 3 years ago.
ckeditor_plugin_1_1dev.patch (43.3 KB) - added by framay 3 years ago.
new patch of version 1.1
CKIntegration-1.1dev-py2.6.egg (30.4 KB) - added by framay 3 years ago.
installable egg of CKEditor v1.1dev, compiled by Py2.6
ckeditorplugin.zip (14.5 KB) - added by framay 3 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 3 years ago by itamarost

  • Status changed from new to assigned

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 3 years ago by aleuhe

comment:2 follow-up: Changed 3 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 3 years ago by itamarost

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 3 years ago by itamarost

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 3 years ago by aleuhe

Changed 3 years ago by aleuhe

comment:5 follow-up: Changed 3 years ago by framay

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 3 years ago by itamarost

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 3 years ago by framay

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 3 years ago by framay

new patch of version 1.1

Changed 3 years ago by framay

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

Changed 3 years ago by framay

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

comment:8 Changed 3 years ago by framay

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:9 Changed 3 years ago by framay

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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.