Hi, I'm facing an issue in Beta 16.

I'm using the default editor but when I'm composing a post seems if I apply a bold text to a word this is applied with ** ** but is not applied on the preview. Also if post is saved is not saved this bold character. I had to edit the text manually means remove an asterisks and add again from the keyboard for see it applied.

Are you able to reproduce the same issue?
Any idea on how to fix?

there are a Beta 16 live to test?

  • clarkwinkelmann replied to this.
  • askvortsov I was think to have resolved but not. I resolved disabling this new option mentioned by you, as soon I activate it I have the issue. Not able to reproduce in the demo even with this option active. I will keep off because of this issue but will be nice to be able to use in the future.

    Thanks for the help!

    Update: today I was able to reproduce in Beta. Yuppy!

    Issue reported: flarum/core2746

    clarkwinkelmann Thanks, on the demo I'M not able to reproduce.
    Maybe can be the extension https://discuss.flarum.org/d/4787-emoji-picker don't know.
    I will have to investigate also if I have no idea how. Maybe trying to disable extensions.

    Update: is not this extension that give this issue, tested disable and still have. Will investigate.

    Nothing disabled extensions but still have the issues on two different community.

    I need help because I have no idea on how to solve :S also from the browser console I cannot see anything.

    Seems if add bold from the text editor button the style is applied and saved only if I made a space after.
    How I can understand why happen this if I also try to disable all extension and the issue persist?

      askvortsov Oh I see, disabling this in Markdown extension resolve the issue so I will keep disabled for now

      If it's indeed an issue with no input event being sent, it means that if you type anything else after using the bold shortcut, then the preview and posting should work?

      If so, definitely an issue for anyone applying formatting to their post they finished typing. But those who apply formatting as they write probably would never notice any issue since typing again should solve the problem.

        askvortsov peopleinside Most likely an issue with mdarea not detecting external modifications as such. We'll need to add some form of callback handler to the buttons to trigger the oninput event.

        clarkwinkelmann the space is what made the bold to be applied.
        If you select text, press for the bold than publish the edit will be loosed, not applied.

        Sometime even writing a post... you apply the bold and you see in the preview is not applied... so need use the space.I tried to activate mdarea in the demo and I was not able to reproduce.

        I am able to reproduce on my two community and disabled mdarea resolve the issue.

        Update of solution:

        I upgraded https://github.com/FriendsOfFlarum/follow-tags with the commit released by davwheat than I do php flarum migrate and php flarum cache:clear and the issue get resolved.

        askvortsov I was think to have resolved but not. I resolved disabling this new option mentioned by you, as soon I activate it I have the issue. Not able to reproduce in the demo even with this option active. I will keep off because of this issue but will be nice to be able to use in the future.

        Thanks for the help!

        Update: today I was able to reproduce in Beta. Yuppy!

        Issue reported: flarum/core2746

        21 days later