Opened 4 years ago
Closed 4 years ago
#1486080 closed Bugs (fixed)
Compose 'editor type' doesn't match type of message body content
| Reported by: | Technetux | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-stable |
| Component: | User Interface | Version: | git-master |
| Severity: | normal | Keywords: | compose editor selector type |
| Cc: | ziba, ksteinhoff |
Description
- save an html draft
- switch editor type config preference to plain text
- open the draft
If you're seeing what I'm seeing, the editor type selector should be on plain text and but the actual message content will be showing as html in tinymce.
So there are two options, force the editor to obey your config rule or force the 'editor type selector' to obey the message content's encoding.
If you'd like, let me know which is preferred, I'd be happy to provide a patch.
Change History (6)
comment:1 Changed 4 years ago by alec
- Resolution set to wontfix
- Status changed from new to closed
comment:2 Changed 4 years ago by ziba
I'm not arguing, but I want to be sure we're talking about the same aspect of this issue:
The intended and preferred behavior is that in the stated circumstances:
The edit type selector visible on the compose screen indicates that the current message is being composed in text mode, even though the current message is actually being composed in html mode.
Is that correct?
Thanks.
comment:3 follow-up: ↓ 4 Changed 4 years ago by Technetux
Exactly Ziba, for example:
Your config preference is set to plain text, you open a draft that was saved as html. The editor type selector will show text but the actual content will be displayed as html. So if you did want to switch to a plain text mode you have to first change the selector to html (which does nothing because it already is html), then switch to plain from html.
comment:4 in reply to: ↑ 3 Changed 4 years ago by alec
Replying to Technetux:
Your config preference is set to plain text, you open a draft that was saved as html. The editor type selector will show text but the actual content will be displayed as html. So if you did want to switch to a plain text mode you have to first change the selector to html (which does nothing because it already is html), then switch to plain from html.
This of course is not intended behaviour. Selector value should match editor content. I'm currently unable to reproduce what you've described.
comment:5 Changed 4 years ago by alec
- Resolution wontfix deleted
- Status changed from closed to reopened
Oops, sorry, something is wrong. You're right. I'll work on this.
comment:6 Changed 4 years ago by alec
- Resolution set to fixed
- Status changed from reopened to closed
Fixed in [80815d23].

Current solution is intended and prefered.