Skip to content

[Mentions] Better reply insertion intelligence #317

@tobyzerner

Description

@tobyzerner

From @tobscure on June 25, 2015 0:44

When you click "reply" on a post, it will check if there is already content in the composer; if so, it will add two blank lines before the mention. This is good, but it can be annoying if you've already put two blank lines in preparation. We should detect if there are blank lines already there or not.

What needs to be done:

  • Fix logic in the insertMention function in the addPostReplyAction initializer.

Copied from original issue: flarum/mentions#5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions