Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Merge requests
!424
CodeMirror not highlighting in Brave and Opera fixed.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CodeMirror not highlighting in Brave and Opera fixed.
codemirror_brave_opera_fix
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Enis Nuredini
requested to merge
codemirror_brave_opera_fix
into
develop
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
CodeMirror not highlighting in Brave and Opera fixed
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
1d425cbc
1 commit,
2 years ago
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
javascript/src/Helper/codemirror.js
+
2
−
1
Options
@@ -93,7 +93,7 @@ $(document).ready(function(){
$
(
formContent
[
0
]).
removeAttr
(
"
class
"
);
$
(
formContent
[
0
]).
addClass
(
"
externWindow
"
);
var
idNameForWindow
=
$
(
formContent
[
0
]).
attr
(
'
id
'
);
htmlContent
=
$
(
"
head
"
).
html
()
+
$
(
formContent
)[
0
].
outerHTML
;
htmlContent
=
'
<!DOCTYPE html>
'
+
$
(
"
head
"
).
html
()
+
$
(
formContent
)[
0
].
outerHTML
;
newWindow
(
idNameForWindow
);
}
@@ -163,6 +163,7 @@ $(document).ready(function(){
// This added class is needed to not fire the script more than once
$
(
this
).
addClass
(
"
cm-done
"
);
// For the extern window we use the whole place to show CodeMirror
$
(
externWindow
).
css
(
'
height
'
,
'
100%
'
);
$
(
this
).
next
().
css
(
'
height
'
,
'
100%
'
);
}
);
Loading