Jump to content




Web viewer compatible javascript wysiwyg html editor?



  • Please log in to reply
2 replies to this topic

#1 OFFLINE   jasonwood  Quarfie

jasonwood
  • Members
  • 811 posts
  • LocationToronto, Canada
  • FM Client:11 Advance
  • Platform:Mac OS X Snow Leopard
  • Time Online: 1d 1h 38m 34s

Posted 28 January 2012 - 11:01 AM

I want to display a javascript wysiwyg editor in a web viewer to allow users to design html emails.

TinyMCE was the most promising, but the "Insert/Edit Link" option does not work. It works fine in Safari, which is what I had understood that the web viewer was using... so that's odd.

I also tried CKEditor (formerly FCKEditor), but nothing works (all actions are performed on the top of the document, regardless of where the cursor/selection is). Again, it works fine in Safari.

I looked at a number of others from this list: http://www.webdesign...d-html-editors/ but most of the others are either too limited (no support for tables), or they rely on popup windows for the user to enter information, which will not work with Web Viewer.

Anyone successfully integrated a wysiwyg html editor in the web viewer?
Jason Wood
Crumpler Canada

#2 OFFLINE   dansmith65  Independent Contractor

dansmith65
  • Members
  • 496 posts
  • FM Client:12 Advance
  • Platform:Windows Vista
  • Skill Level:Expert
  • Certification:8
  • Membership:TechNet
  • Time Online: 12d 13h 39m 46s

Posted 28 January 2012 - 06:39 PM

Regardless of the editor you use, how are you going to get the data from the web viewer to the database?

Have you tried setting up the editor on a web server, then pointing the browser to that URL?  For example, point your web viewer to this url, and see if it works: http://ckeditor.com/demo (I didn't test it).

#3 OFFLINE   jasonwood  Quarfie

jasonwood
  • Members
  • 811 posts
  • LocationToronto, Canada
  • FM Client:11 Advance
  • Platform:Mac OS X Snow Leopard
  • Time Online: 1d 1h 38m 34s

Posted 21 March 2012 - 08:44 PM

I intended to use php to write the data back to the database although I haven't set that up.

Yes, I tried a whole bunch of web-based WYSIWYG editors including CKEditor. The web viewer does not like any of them. The problems vary but all have critical issues - mostly relating to operating on selections of text if I recall correctly.

So I decided to just open it in a new window, passing the existing field data in a "GET" string. Currently just manually copy/pasting it back to the database.
Jason Wood
Crumpler Canada


Back to Web Viewer


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

FMForum Advertisers