If a segment of text is formatted in bold, italics or strikethrough, that formatting remains if it is subsequently also turned into a hyperlink. If that hyperlink is then selected and updated to a different link, however, the non-hyperlink formatting disappears.

      • Mose13@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Awesome! There are a few other things to sort out before I can merge this. If you have the time and wanna keep using that experimental build for a few days, you can let me know if you encounter any other issues. That would be super helpful as I’m making a bigger change to the markdown editor

        Two known issues with that experimental build yet:

        • Subscript doesn’t work
        • Superscript doesn’t work
        • Zedstrian@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 month ago

          Found a glitch in that version: the bold/italic/strikethrough UI now updates properly, but there are glitches in using bold in conjunction with italics or strikethrough.

          1. If bold and italics or strikethrough are selected before writing text, the bold is disabled and only the italic option is used.

          2. When trying to apply it to selected text, if the italic or strikethrough option is applied first, the bold option can’t be used.

          Bold can only be used with italics or strikethrough if text is selected when applying it and the bold option is applied first.

          The app also appears to freeze when trying to use the Spoiler feature or editing a post or comment.

          Also, perhaps less a bug than an unimplemented feature, but as markdown formatting works in private messages too, perhaps the UI to use it should be enabled for writing private messages?

          • Mose13@lemmy.worldM
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            Super helpful, thanks!

            I’ll have to think more about fitting markdown editing into messages without making the UI to cluttered. But I’ve wanted the ability to put images in messages for awhile. Markdown editing would make that possible.