XStandard doesn't fall back to plain textarea

Christefano - December 4, 2007 - 06:15
Project:XStandard WYSIWYG Editor
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:henrrrik
Status:postponed
Description

It's too bad that installing this module means that the fields configured in the XStandard module settings are actually uneditable unless the browser plugin is installed, too. it would be nice to be able to install this module and have XStandard be an option for the occasional user that has the browser plugin installed.

Also, with this module and the browser plugin installed there is no way to toggle it on or off. The ability to do this with TinyMCE (per role, per user and per form) makes installing TinyMCE a set it and forget it feature on some sites of mine. I'd like to do this with XStandard.

#1

henrrrik - December 4, 2007 - 14:40
Assigned to:Anonymous» henrrrik

XStandard can already be enabled per role and per textarea field. It would be nice if it was user-configurable on the profile page like TinyMCE is. I'll add that when I have the time.

I'm also looking into making it fall back to a normal input field if the plugin isn't installed. Patrick Lauke describes a method that should work nicely: http://www.splintered.co.uk/experiments/78/

#2

Christefano - December 4, 2007 - 22:02

Thanks for posting the link. I'm new to XStandard and would love to support it when it has these requested features.

#3

henrrrik - December 5, 2007 - 12:39

The latest (dec 5th) 5.x snapshot falls back to a normal textarea field if the plugin isn't installed.

#4

christefano - June 10, 2008 - 19:55
Title:XStandard module is all or nothing» XStandard doesn't fall back to plain textarea
Category:feature request» bug report
Priority:normal» critical

I see that fallback support was added in commit #90321 (thanks!) but now I see the "If you can't see the XStandard WYSIWYG editor" error where the edit-body textarea should be when the XStandard browser plugin isn't installed.

I'm changing this to a bug report since the new feature doesn't seem to be working.

#5

henrrrik - June 11, 2008 - 08:45
Category:bug report» feature request
Priority:critical» normal

It was removed. The fallback solution work at all in IE and at least one browser didn't post the textarea content to the server if it was wrapped in an object tag.

#6

christefano - June 11, 2008 - 08:59

That explains it. :) Thanks for the response.

It's too bad that get_browser() or Browscap aren't able to detect installed plugins. Would you be able to use a detection script? XStandard has one at http://xstandard.com/en/documentation/xstandard-dev-guide/web-integratio...

#7

henrrrik - June 30, 2008 - 10:32

The plugin can be detected via JavaScript, but I doubt that it's possible to load the plugin by inserting the object with JS. I'll give it a try when I have some spare time though.

#8

henrrrik - March 12, 2009 - 02:35
Status:active» closed

#9

henrrrik - March 12, 2009 - 02:35
Status:closed» postponed
 
 

Drupal is a registered trademark of Dries Buytaert.