Ticket #8851 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Support all wiki markup and formatting

Reported by: itamarost Assigned to: itamarost
Priority: highest Component: CkEditorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Attachments

20110826 - aleuhe - tracwiki.js (12.4 kB) - added by aleuhe on 08/26/11 13:48:17.
20110902 - tracwiki.js (12.4 kB) - added by aleuhe on 09/02/11 12:47:52.
20110902_aleuhe_tracwiki.js (12.4 kB) - added by aleuhe on 09/02/11 12:49:13.
ckeditor_plugin_1_1dev.patch (43.3 kB) - added by framay on 11/11/11 10:44:10.
new patch of version 1.1
CKIntegration-1.1dev-py2.6.egg (30.4 kB) - added by framay on 11/11/11 10:44:51.
installable egg of CKEditor v1.1dev, compiled by Py2.6
ckeditorplugin.zip (14.5 kB) - added by framay on 11/11/11 10:45:56.
zip file, containing all sources; almost identical when merging with patch (only images is not included in patch)

Change History

05/30/11 19:19:02 changed 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)

08/26/11 13:48:17 changed by aleuhe

  • attachment 20110826 - aleuhe - tracwiki.js added.

(follow-up: ↓ 3 ) 08/26/11 13:48:27 changed 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.

(in reply to: ↑ 2 ) 08/27/11 20:08:46 changed 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!

08/27/11 20:14:07 changed 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.

09/02/11 12:47:52 changed by aleuhe

  • attachment 20110902 - tracwiki.js added.

09/02/11 12:49:13 changed by aleuhe

  • attachment 20110902_aleuhe_tracwiki.js added.

(follow-up: ↓ 7 ) 10/20/11 15:56:14 changed 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).

10/21/11 23:25:31 changed 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.

(in reply to: ↑ 5 ) 10/26/11 16:07:02 changed 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.

11/11/11 10:44:10 changed by framay

  • attachment ckeditor_plugin_1_1dev.patch added.

new patch of version 1.1

11/11/11 10:44:51 changed by framay

  • attachment CKIntegration-1.1dev-py2.6.egg added.

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

11/11/11 10:45:56 changed by framay

  • attachment ckeditorplugin.zip added.

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

11/16/11 08:28:10 changed by framay

  • status changed from assigned to closed.
  • resolution set to fixed.

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

11/16/11 08:38:50 changed 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/Change #8851 (Support all wiki markup and formatting)




Change Properties
Action