-1

How to make the GWT'S RichTextArea widget ReadOnly?

Braiam
  • 1
  • 11
  • 47
  • 78
Barry
  • 1,585
  • 3
  • 22
  • 35

1 Answers1

1

Try using isEnabled(false) to make it read-only.

Jason Hall
  • 20,632
  • 4
  • 50
  • 57
  • This looks like a bug to me - When I disable it before attaching the RichTextArea to the DOM for the first time it will work as expected, but when I disable it after it was already attach to the DOM and has been enabled, the method setEnabled(false) will make isEnabled() return false, but the text can still be modified. – kaefert Sep 16 '13 at 14:44