sleemanj / xinha

WYSIWYG HTML Editor Component (turns <textarea> into HTML editors)
http://trac.xinha.org/
Other
13 stars 2 forks source link

Unformat plugin uses wrong case to locate toolbar object (Trac #1545) #1545

Closed sleemanj closed 4 years ago

sleemanj commented 14 years ago

The UnFormat plugin tries to use 'UnFormat' as the name for it's toolbar object, after registering it as 'unformat'. Since JavaScript is case-sensitive, this fails.

Suggested fix: line 40 of UnFormat.js: this.editor._toolbarObjects.unformat.state("enabled", false);

Reported by guest, migrated from http://trac.xinha.org/ticket/1545

sleemanj commented 14 years ago

Fixed in r1283.

sleemanj commented 14 years ago

ejucovy changed keywords to toolbar