Port TextEditorView and DnDUploader to spina.

Review Request #13115 — Created June 19, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

In preparation for integrating the rich text toolbar, this change ports
our TextEditorView and DnDUploader to TypeScript via spina.

This also fixes one issue I discovered where if the only thing you've
done with a text editor is upload an image, it won't think the editor is
dirty and so saving discards the contents.

  • Ran js-tests.
  • Used drag and drop to upload files into a text editor.

Changes between revision 2 and 3

orig
1
2
3

Commits

Summary ID Author
Port TextEditorView and DnDUploader to spina.
In preparation for integrating the rich text toolbar, this change ports our `TextEditorView` and `DnDUploader` to TypeScript via spina. This also fixes one issue I discovered where if the only thing you've done with a text editor is upload an image, it won't think the editor is dirty and so saving discards the contents. Testing Done: - Ran js-tests. - Used drag and drop to upload files into a text editor.
65d1ee4ca19d64636bd69f58b6513930fc6127fb David Trowbridge
Port TextEditorView and DnDUploader to spina.
In preparation for integrating the rich text toolbar, this change ports our `TextEditorView` and `DnDUploader` to TypeScript via spina. This also fixes one issue I discovered where if the only thing you've done with a text editor is upload an image, it won't think the editor is dirty and so saving discards the contents. Testing Done: - Ran js-tests. - Used drag and drop to upload files into a text editor.
55b6738044bc3e3e68c8495d802d2c6f4c3906c0 David Trowbridge
reviewboard/static/rb/js/ui/views/inlineEditorView.ts
reviewboard/static/rb/js/ui/views/textEditorView.ts
Loading...