execCommand throws an error when data is empty
|Reported by:||aorduno||Owned by:||fredck|
i think it would be a good idea to check (if is empty) data before call execCommand.
For example in _source/ywsiwygarea/plugin.js in line 55-56
if ( this.dataProcessor )
data = this.dataProcessor.toHtml( data );
there might be some JS errors since we use our own dataprocessor which can result in data being empty. So for avoiding this i think it would be nice to check if data is empty or something like that before calling execCommand.
Change History (13)
comment:1 Changed 6 years ago by j.swiderski
- Resolution set to invalid
- Status changed from new to closed
Changed 6 years ago by fredck
comment:7 Changed 6 years ago by fredck
- Resolution invalid deleted
- Status changed from closed to reopened