mirror of
https://github.com/discourse/discourse.git
synced 2025-03-15 04:45:27 +08: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(
|
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();
|
const post = helper.getModel();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user