1 of 4
1
New WYSIWYG Editor integrated - SF jWYSIWYG
Posted: 18 May 2009 12:51 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008

I just finished tying the jQuery WYSIWYG editor into a new ExpressionEngine extension. It’s a really lightweight, simple and stripped down WYSIWYG editor that actually writes decent code. It’s worked well so far so i’m sharing it with all.

[UPDATE] Current Version: 1.1
Download SF jWYSIWYG Now.

I’ve attached a quick screenshot of it as well. Enjoy, and let me know if you have any issues.

VERSION 1.1

-Added: MSM Compatibility
-Added: CSS Setting to allow the jWYSIWYG window to be styled

Image Attachments
jquery_wysiwyg.png
Click thumbnail to see full-size image
 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
Posted: 18 May 2009 12:55 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  39806
Joined  05-14-2004

Awesome, Jack.  Thanks for sharing it!  I’ve added it to this wiki page.

 Signature 
Profile
MSG
 
 
Posted: 18 May 2009 01:08 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1398
Joined  02-12-2003

Very cool Jack.

Have you tested this editor at all with Safari?

I have authors that use Safari and Firefox both quite extensively and in the past all of the WYSIWYG editors croak in Safari.

Jamie

Profile
 
 
Posted: 18 May 2009 01:22 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008
Jamie Poitra - 18 May 2009 01:08 PM

Very cool Jack.
Have you tested this editor at all with Safari?

Everything works perfectly in Firefox as well as Safari 4 Beta. Safari 3 works on bullets, italic, bold, etc.. but chokes on the SIZE functions (h1, h2, font size increase, decrease, etc) unfortunately. I’ll put in a support ticket on the Google Code site and see what comes of it.

 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
Posted: 18 May 2009 01:24 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  33
Joined  10-14-2008

Nice work, Jack. I’ve been looking for something simple like this.

 Signature 

web - http://bydreamtime.com
twitter - http://twitter.com/dreamtime

Profile
 
 
Posted: 18 May 2009 01:26 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1398
Joined  02-12-2003

Very cool.

That would actually be OK for me as I wouldn’t want the users doing that anyway.  Those can be disabled easily.

I think I might have to use this.  Exciting. 

I’m assuming you set the field to not be parsed by the XHMTL function?  Or can the editor be set to not do line breaks and paragraph tags?  That would probably be my preference as we have a lot of legacy data.

Profile
 
 
Posted: 18 May 2009 01:28 PM   [ Ignore ]   [ # 6 ]  
Professor
Avatar
RankRankRankRankRankRankRank
Total Posts:  10348
Joined  04-15-2006

Is it possible to over-ride the inline styles that the editor puts in though. Would be much nicer if bold and italic weren’t done with inline styles.

Best wishes,

Mark

 Signature 

Shopping Cart Plugin
Full list of add-ons
———————————————————-
Buy me a drink, or two if you like!!

Profile
 
 
Posted: 18 May 2009 01:30 PM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  288
Joined  05-25-2004

Cool, Jack. I would love to try it, but I have to have an integrated “paste as plain text” button before I can make it live anywhere. MS Word puts some hideous code in the copy buffer.

Profile
 
 
Posted: 18 May 2009 01:36 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1398
Joined  02-12-2003
Mark Bowen - 18 May 2009 01:28 PM

Is it possible to over-ride the inline styles that the editor puts in though. Would be much nicer if bold and italic weren’t done with inline styles.

Didn’t realize that’s how this one works.  That’s really too bad.  Kills the usefulness of it for us.

Jamie

Profile
 
 
Posted: 18 May 2009 01:37 PM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008
Jamie Poitra - 18 May 2009 01:36 PM
Mark Bowen - 18 May 2009 01:28 PM

Is it possible to over-ride the inline styles that the editor puts in though. Would be much nicer if bold and italic weren’t done with inline styles.

Didn’t realize that’s how this one works.  That’s really too bad.  Kills the usefulness of it for us.

Let me look into that. I think there’s a way to change that functionality. Will let you know!

 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
Posted: 18 May 2009 01:39 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  153
Joined  05-21-2007

@Dan
You can always paste it into TextEdit or windows alternative as a plain txt file, then copy and paste it into the WYSIWYG field… an extra steo I know but would solve the problem for you

Profile
 
 
Posted: 18 May 2009 01:43 PM   [ Ignore ]   [ # 11 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  288
Joined  05-25-2004

@Justin - yes, definitely. But I can’t go back now and take away features we already have in TinyMCE that I’ve trained my clients to use.

Profile
 
 
Posted: 18 May 2009 03:01 PM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2030
Joined  09-16-2004

Awesome, I was wondering if someone would get round to it.

No fan of WYSIWYG but it’s always good to have options. Cheers, Jack!

 Signature 

Peace, e-man.
stookstudio.com, websites built with care and web standards. LinkedIn profile

Profile
 
 
Posted: 18 May 2009 03:22 PM   [ Ignore ]   [ # 13 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2293
Joined  05-13-2004

Saw this the other day and was also wondering if/when it would be made into an extension. Will check it out as an althernative to textile and the textile editor helper.

 Signature 

CreateSean Web Design | EE Forums 4 You ExpressionEngine forum customization
on twitter @createsean I am the poster formally known as The Linguist.

Profile
 
 
Posted: 18 May 2009 03:42 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008

Regarding the

<span style="font-weight:bold;"> ... </span>

code re-writing, it seems there is no way to set that to use <strong> tags at this point. There are a number of threads in the Google Code page requesting its implementation, so when a change happens, i’ll make sure to update it.

All things considered though, it’s a worthy sacrifice for clean code.

I’ll also be adding a few more options to the extension—checklists for adding/removing buttons, link to your stylesheet to see live changes in the editor, and possibly an activate/deactivate button (or double click) feature so situations like @Justin’s will have a solution.

Hope it’s useful! Let me know how it works for you guys.

 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
Posted: 18 May 2009 11:15 PM   [ Ignore ]   [ # 15 ]  
Summer Student
Total Posts:  21
Joined  10-23-2008

What are the chances of dropping this in to field frame to use as a cell?

Profile
 
 
Posted: 20 May 2009 01:49 AM   [ Ignore ]   [ # 16 ]  
Grad Student
Avatar
Rank
Total Posts:  53
Joined  03-24-2008

Hi Jack, I’m getting this error on my publish page and no wysiwyg editor showing up after enabling the extension:

“Notice: Uninitialized string offset: 0 in /home/craps5/public_html/system/extensions/ext.jquery_wysiwyg.php on line 39”

MSM 1.1 - Build: 20081024, EE 1.6.7 Build: 20090515

 Signature 

Jacob Kneeshaw
Founder |SmarterGamblers.com Network

Profile
 
 
Posted: 20 May 2009 07:29 AM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1906
Joined  01-05-2007

This doesn’t appear to work with MSM very well.

I have to create the full folder structure for each MSM site which is a pain!

/msm_folder/admin/extensions/jquery_wysiwig/

Any chance you can make it MSM aware so I only need it in one place?

 Signature 

 
Steven Hambleton | Follow me on Twitter!


ExpressionEngine Outsourcing for Web & Graphic Design Agencies

Profile
 
 
Posted: 20 May 2009 07:29 AM   [ Ignore ]   [ # 18 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008

@jkneeshaw Should be all set, give this link a shot:

jQuery WYSIWYG 1.0.1

 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
   
1 of 4
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 02:47 PM
Total Registered Members: 115007 Total Logged-in Users: 97
Total Topics: 122440 Total Anonymous Users: 69
Total Replies: 647313 Total Guests: 532
Total Posts: 769753    
Members ( View Memberlist )