• Resolved liquidmind

    (@liquidmind)


    Hello Jeff,

    Fantastic plugin! Just figured out how to create a command line block. Is there a way to disable the Copy button in this block?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hey @liquidmind, yes just go to Prism settings and uncheck the box next to “Copy to Clipboard” should do the trick.

    Thread Starter liquidmind

    (@liquidmind)

    Doesn’t unchecking “Copy to Clipboard” disable it globally (including in code blocks)? I wanted to see if it could be done on as-needed basis, like in command line blocks. I am guessing there is no easy way to do this, at least yet.

    Thanks.

    Plugin Author Jeff Starr

    (@specialk)

    Yeah that is correct, the setting applies globally to all code blocks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable Copy button in command line block (Prism.js)’ is closed to new replies.