Opened 6 years ago

Closed 5 years ago

Support all wiki markup and formatting

Reported by: Owned by: Itamar Ostricher Itamar Ostricher highest CkEditorPlugin normal 0.12

comment:1 Changed 6 years ago by Itamar Ostricher

Status: new → 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 6 years ago by aleuhe

Attachment: 20110826 - aleuhe - tracwiki.js​ added

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

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 6 years ago by Itamar Ostricher

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.

comment:5 follow-up:  7 Changed 6 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 6 years ago by Itamar Ostricher

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 6 years ago by Franz

• 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 5 years ago by Franz

new patch of version 1.1

Changed 5 years ago by Franz

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

Changed 5 years ago by Franz

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

comment:8 Changed 5 years ago by Franz

Resolution: → fixed assigned → closed

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

comment:9 Changed 5 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