Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding own styles to wysiwyg editor
#1
I want to add my own style markup to the WYSIWYG Editor so that it is available to me for usage on text and images while editing a page.

In the WYSIWYG Editor advanced mode a STYLES drop down and FORMAT dropdown are available to us for styling paragraphs and text. I want to add my own styles here so I can just select my text, choose the style from the drop down menu and I'm done.

How do I achieve this without touching any core files?
Reply
#2
Hii Andy,

i think what your looking for is here:

http://get-simple.info/wiki/how_to:edito...stom_files

Mike.
My Github Repos: Github
Website: DigiMute
Reply
#3
n00dles101 Wrote:Hii Andy,

i think what your looking for is here:

http://get-simple.info/wiki/how_to:edito...stom_files

Mike.
This worked great. Thanks.
Reply
#4
Ok. Another issue. I have added a WYSIWYG Editor through i18n_customfields. The styles section in this editor is blank now. How do I add my customised style to that?

Also, I am unable to add images in the customfields wysiwyg editor. I have to input the image link in the URL field manually. Selecting from the editor still shows the URL field as blank.
Reply
#5
this is a question to the plugindeveloper of the custom fields plugin-developer ;=)

it always depends how the editor is integrated, if it is integrated referring to the general configuration or not

Andyash, I suggest to ask this in the support thread of that plugin, because the problem with the images will affect all plugin-users
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#6
Thanks. Realised this and did it already.
Reply
#7
define('GSEDITOROPTIONS',"stylesSet: 'default:http://www.yourdomain.de/getsimple-root/themes/ckeditorstyles.js'");

I have given up on the above as the styles drop down becomes blank in both Chrome and IE9.
Reply
#8
"www.yourdomain.de/getsimple-root" <= did you replace that with the actual settings?
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#9
Connie Wrote:"www.yourdomain.de/getsimple-root" <= did you replace that with the actual settings?
I did.
Reply
#10
let us see you "ckeditorstyles.js"
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#11
Connie Wrote:let us see you "ckeditorstyles.js"
Reply




Users browsing this thread: 1 Guest(s)