Adding HTML button to TinyMCE
Page: 1
I like having a WYSIWIG editor in activeCollab, as my company has already been very resistant to markup languages like Textile, etc. However, sometimes you need to get at the raw HTML to fix various problems, especially when pasting in text. I have used TinyMCE with Drupal, and I depended on the HTML button for editing code. So I decided to add it in.
I edited the configuration options for TinyMCE and added the missing assets/editor/themes/advanced/source_editor.htm file (from version 2.1.1.1). However, the HTML edit window comes up blank. I did some research, but I could not discover what I did wrong. Has anyone had enough experience with TinyMCE to point me in the right direction?
BTW, for Drupal we eventually switched over to FCKEdit. It was more reliable, felt cleaner, and the HTML editing happened right in the same control. So, if anyone has hacked aC to use FCKEdit, that would be very interesting to me.
Another possible solution is providing an option to turn off WYSIWIG editing throughout all of aC, as a per-user option. Then at least I could turn of WYSIWIG, fix my HTML problems, and then turn WYSIWIG back on.
I edited the configuration options for TinyMCE and added the missing assets/editor/themes/advanced/source_editor.htm file (from version 2.1.1.1). However, the HTML edit window comes up blank. I did some research, but I could not discover what I did wrong. Has anyone had enough experience with TinyMCE to point me in the right direction?
BTW, for Drupal we eventually switched over to FCKEdit. It was more reliable, felt cleaner, and the HTML editing happened right in the same control. So, if anyone has hacked aC to use FCKEdit, that would be very interesting to me.
Another possible solution is providing an option to turn off WYSIWIG editing throughout all of aC, as a per-user option. Then at least I could turn of WYSIWIG, fix my HTML problems, and then turn WYSIWIG back on.
Ilija Studen
on Dec 20. 2007. 12:59 pm
preclick:Another possible solution is providing an option to turn off WYSIWIG editing throughout all of aC, as a per-user option. Then at least I could turn of WYSIWIG, fix my HTML problems, and then turn WYSIWIG back on.
You can do this. Go to your profile -> Updated profile and in Miscellaneous section set No for Visual Editor property.
activeCollab team member
Jamie Edwards
on Dec 20. 2007. 3:20 pm
It would be easier to have a switch within the editor interface that does the switch dynamically, without a page refresh (like vBulletin does).
Back to the original question: is it possible to add buttons/fns?
aC will clearly handle other useful options (colored text) BUT they are not accessible; and BTW, I've never been able to get indents to function correctly.
aC will clearly handle other useful options (colored text) BUT they are not accessible; and BTW, I've never been able to get indents to function correctly.
Ilija Studen
on Jul 30. 2008. 5:36 am
You can hack TinyMCE and include the button, but note that version used in activeCollab is TinyMCE 2 and that everything not required for what is provided by default is stripped out.
activeCollab team member
Terry Johnson
on Aug 17. 2008. 1:38 am
Has anyone succeeded in upgrading TinyMCE to version 3? It has better cross browser support than version 2, and I've had a couple of user requests for it.
Terry Johnson
VP Technology, Scribendi Inc.
http://www.scribendi.com - Editing, Proofreading and more...
VP Technology, Scribendi Inc.
http://www.scribendi.com - Editing, Proofreading and more...



