Reproduce: select a part of the text that you want to apply style to. Then click the button (bold,...) then click the button again, again and again. Result will be several times insert of partial test originaly selected + markdown to apply