diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-16 18:10:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-16 18:10:28 +0300 |
commit | 6aaec2fc6c3e3f96f443b96fd53ae9ed5e7979af (patch) | |
tree | 17336eb6c5d10d904310218c72b3b0bf9b78a180 /app/assets/javascripts/content_editor | |
parent | a32fd79d1e34ca4da1d5390c0aaf91d660e03fc8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/content_editor')
-rw-r--r-- | app/assets/javascripts/content_editor/extensions/code_block_highlight.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/content_editor/extensions/code_block_highlight.js b/app/assets/javascripts/content_editor/extensions/code_block_highlight.js index 6154fae21df..ea51bee3ba9 100644 --- a/app/assets/javascripts/content_editor/extensions/code_block_highlight.js +++ b/app/assets/javascripts/content_editor/extensions/code_block_highlight.js @@ -4,6 +4,8 @@ import * as lowlight from 'lowlight'; const extractLanguage = (element) => element.getAttribute('lang'); export default CodeBlockLowlight.extend({ + isolating: true, + addAttributes() { return { language: { |