Markdown issue in 1Password for Mac

This discussion was created from comments split from: Markdown not applied correctly on the Notes field (sometimes).

Comments

  • clarino
    clarino
    Community Member
    edited August 2023

    I just ran into this on 1passwd.app on MacOS. Simply copying to a new item wasn't sufficient. It just pasted back the same misformatted text. To solve it, I had to paste the text into an app (any app!) which has no knowledge of Markdown and then do a copy/paste from there back to 1P.

    It might help if 1P had a "Paste and Match Style" in the Edit menu (like most other apps) so that MacOS itself would automatically strip anyway whatever font directives are not being explicitly shown. I presume Win and Linux have similar paste variants.

  • @clarino

    Your comment has been split into the Mac section so that we can better discuss it here. 🙂

    I can't reproduce the behaviour that you're describing. Markdown text shouldn't carry with it any formatting since the formatting is transmitted using markdown language (which is visible). Are you able to reproduce the issue again? Or did it only happen one time?

    If you can reproduce the issue again then can you tell me the following:

    1. From what kind of item (Login, Secure Note, etc...) did you copy the text and to what kind of item did you paste the text?
    2. Did you copy the text when the origin item was in an edit view?
    3. What markdown language existed in the text that you copied?
    4. What formatting was transmitted to the new item? For example, was the text bolded?

    -Dave

  • clarino
    clarino
    Community Member
    1. It only happened with one login item. I successfully got rid of any trace of it (sorry) but suffered with it for a long time before running into the discussion here and finally understanding how to get rid of it.
    2. Yes, I tried copying the text while in edit view.
    3. There was no markdown that I could see. It was that same huge/bold font in both normal and edit modes. Perhaps this had nothing to do with markdown at all and I just can't think of another reason why parts of a note would display that way? But the impression I get is that the note field is plaintext with the only control of fonts via markdown. Is it possible that the note field is rich text?
    4. I didn't ever create a new item. I keep trying to repaste the original misformatted text back into the same item. Every paste simply retained the weird original formatting until I finally went the extra step of pasting it into another app (which doesn't support rich text) and copy/pasting it back into 1P.

    The more I think about this, the more plausible it seems that it's not a markdown issue at all. Rather, somehow the Notes field supports rich text in yet another way that was never intended.

  • @clarino

    My colleagues and I will keep an eye out for further reports so that we can investigate this further.

    If you do happen to run into the issue again in the future then please let me know. Having a copy of the affected item on hand would help the investigation and allow our developers to more quickly isolate the issue and start working on a fix.

    Thank you again for reporting the issue. 🙂

    -Dave

This discussion has been closed.