Disable copy button on inline code or avoid it breaking text lines

Created on 24 March 2024, 8 months ago
Updated 23 April 2024, 7 months ago

Problem/Motivation

I noticed that after enabling & setting up this module with the Copy button feature (btw, ty, this is very nice!) all inline <code> are now wrapped in a <div class="code-container"></div>, thus breaking the lines of text.

This behaviour is wanted only on <pre></pre>, ie. code blocks.

I don't expect to be able to copy inline code with a button, since a double click is enough, so we should just invoke the Copy button feature on <pre> elements, don't you think?
šŸ™

šŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

šŸ‡®šŸ‡¹Italy kopeboy Milan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024