Another way might be using images to display text, but I'm not sure they can be wider than 16 pixels.
If you really would want text instead of icons in the FCKeditor toolbar, I think you'll need to modify the file 'editor/_source/classes/fcktoolbarbuttonui.js' on lines 81 and 98 (that is for FCKeditor 2.4) and create + append a span element with innerHTML 'this.Name', 'this.Label' or 'this.Tooltip', whatever you want... Instead of creating the span element inline in the file 'editor/_source/classes/fcktoolbarbuttonui.js', you could also create a completely new Class/Object, e.g. 'fcktext.js', based on 'editor/_source/classes/fckicon.js'.
I guess I will first try to modify 'editor/_source/classes/fcktoolbarbuttonui.js'. The Problem with using text images is, that our security settings seem to prevent the images from loading (sounds weird though anything else works perfectly ). That is why I am trying to use text, so the user can see at least something on the toolbar.
No images due to security settings? That's strange, never heard of any server setting that will prevent that, only in firefox you can disable images, but then no images on any website should appear. Do you neither see the smileys in the smileys dialog or the arrow icon for submenu's in the context menu (Check the latter by inserting a table in the FCKeditor and rightclicking on it; the menuitems 'cell', 'row' and 'column' should have a small arrow at the end of their row). When you do see these images, it's a skin problem. Then you probably have installed a skin for FCKeditor 2.2 and lower when you have FCKeditor 2.3 or higher.
RE: Showing only text in the toolbar.
You could make a custom toolbar and hide the real ones.
See 'HOWTO - trigger toolbar button externally': https://sourceforge.net/forum/forum.php ... _id=257180
And a function to disable (and optionally hide) the toolbars of the FCKeditor: http://sourceforge.net/forum/forum.php? ... _id=257179
Another way might be using images to display text, but I'm not sure they can be wider than 16 pixels.
If you really would want text instead of icons in the FCKeditor toolbar, I think you'll need to modify the file 'editor/_source/classes/fcktoolbarbuttonui.js' on lines 81 and 98 (that is for FCKeditor 2.4) and create + append a span element with innerHTML 'this.Name', 'this.Label' or 'this.Tooltip', whatever you want... Instead of creating the span element inline in the file 'editor/_source/classes/fcktoolbarbuttonui.js', you could also create a completely new Class/Object, e.g. 'fcktext.js', based on 'editor/_source/classes/fckicon.js'.
Good luck and please share your creations!
Paul
FCKPlugins by saulmade: http://www.saulmade.nl/FCKeditor/FCKPlugins.php
FCKSkins by saulmade: http://www.saulmade.nl/FCKeditor/FCKSkins.php
FCKSnippets by saulmade: http://www.saulmade.nl/FCKeditor/FCKSnippets.php
RE: Showing only text in the toolbar.
Thank you Paul,
). That is why I am trying to use text, so the user can see at least something on the toolbar.
I guess I will first try to modify 'editor/_source/classes/fcktoolbarbuttonui.js'. The Problem with using text images is, that our security settings seem to prevent the images from loading (sounds weird though anything else works perfectly
If I find a solution I will share it here.
eg
RE: Showing only text in the toolbar.