Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding own styles to wysiwyg editor
Author Message
andyash Offline
Member

Posts: 173
Joined: Apr 2010
2012-04-24 21:19:28
adding own styles to wysiwyg editor
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?
Find all posts by this user Quote this message in a reply
n00dles101 Offline
Administrator

Posts: 981
Joined: Aug 2009
2012-04-24 21:24:38
adding own styles to wysiwyg editor
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
Visit this user's website Find all posts by this user Quote this message in a reply
andyash Offline
Member

Posts: 173
Joined: Apr 2010
2012-04-25 02:03:04
adding own styles to wysiwyg editor
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.
Find all posts by this user Quote this message in a reply
andyash Offline
Member

Posts: 173
Joined: Apr 2010
2012-04-25 02:57:09
adding own styles to wysiwyg editor
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.
Find all posts by this user Quote this message in a reply
Connie Offline
Super Moderator

Posts: 2,719
Joined: Feb 2011
2012-04-25 16:10:10
adding own styles to wysiwyg editor
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

|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Find all posts by this user Quote this message in a reply
andyash Offline
Member

Posts: 173
Joined: Apr 2010
2012-04-25 16:34:09
adding own styles to wysiwyg editor
Thanks. Realised this and did it already.
Find all posts by this user Quote this message in a reply
andyash Offline
Member

Posts: 173
Joined: Apr 2010
2012-05-06 05:32:58
adding own styles to wysiwyg editor
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.
Find all posts by this user Quote this message in a reply
Connie Offline
Super Moderator

Posts: 2,719
Joined: Feb 2011
2012-05-06 17:57:51
adding own styles to wysiwyg editor
"www.yourdomain.de/getsimple-root" <= did you replace that with the actual settings?

|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Find all posts by this user Quote this message in a reply
andyash Offline
Member

Posts: 173
Joined: Apr 2010
2012-05-06 21:06:52
adding own styles to wysiwyg editor
Connie wrote:"www.yourdomain.de/getsimple-root" <= did you replace that with the actual settings?
I did.
Find all posts by this user Quote this message in a reply
Connie Offline
Super Moderator

Posts: 2,719
Joined: Feb 2011
2012-05-06 23:36:13
adding own styles to wysiwyg editor
let us see you "ckeditorstyles.js"

|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Find all posts by this user Quote this message in a reply
andyash Offline
Member

Posts: 173
Joined: Apr 2010
2012-05-10 03:48:33
adding own styles to wysiwyg editor
Connie wrote:let us see you "ckeditorstyles.js"
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)

Contact Us | GetSimple | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication
Generate Leads from Documents vCard Hosting