mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
FIX: Copy button was displayed on quoted codeblock (#9514)
This commit is contained in:
parent
e5c44f6dcf
commit
b7dea0d5c1
@ -114,7 +114,7 @@ export default {
|
||||
}
|
||||
|
||||
const commands = postElements[0].querySelectorAll(
|
||||
":scope > pre > code, :scope :not(article) > pre > code"
|
||||
":scope > pre > code, :scope :not(article):not(blockquote) > pre > code"
|
||||
);
|
||||
|
||||
const post = helper.getModel();
|
||||
|
Loading…
Reference in New Issue
Block a user