We have an issue with events custom tags and the new WYSIWYG ProseMirror editor: custom fields filled from the event form are not present in the generated string. It still works as before with the markdown editor.
Steps to reproduce:
Enable the Discourse Calendar plugin
Add one custom field in plugin configuration
Open a form for a new Post
Select the ProseMirror editor
Create an event with a value for the custom field (Options > Create Event)
Validate the event
Switch to Markdown editor
What is happening
The custom field is absent from the [event] tag.
What is expected
The custom field should be present in the [event] tag.
Notes
When doing the same but starting with the Markdown editor instead of ProseMirror, the custom field is present in the [event] tag.
I investigated a bit what was happening with the toolbarEvent when validating the new event: addText() method seems to receive in both cases the right markup: