Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ckeditor-3358962
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
ckeditor-3358962
Commits
b1a9adaf
Commit
b1a9adaf
authored
11 years ago
by
Wiktor Walc
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1971566
by wwalc: Mediaembed throws JS error with ACF enabled
parent
6cd012a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+1
-0
1 addition, 0 deletions
CHANGELOG.txt
plugins/mediaembed/plugin.js
+1
-1
1 addition, 1 deletion
plugins/mediaembed/plugin.js
with
2 additions
and
1 deletion
CHANGELOG.txt
+
1
−
0
View file @
b1a9adaf
6.x-1.x dev
[#1971566] by wwalc: Mediaembed throws JS error with ACF enabled
[#1971502] by wwalc: Mediaembed plugin should define allowedContent for ACF
[#1950498] by wwalc: Advanced Content Filter introduced in CKEditor 4.1 is now configurable in CKEditor profile.
...
...
This diff is collapsed.
Click to expand it.
plugins/mediaembed/plugin.js
+
1
−
1
View file @
b1a9adaf
...
...
@@ -87,7 +87,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
if
(
element
.
attributes
[
'
class
'
]
==
'
media_embed
'
)
{
var
fakeElement
=
editor
.
createFakeParserElement
(
element
,
'
cke_mediaembed
'
,
'
div
'
,
true
);
var
fakeStyle
=
fakeElement
.
attributes
.
style
||
''
;
if
(
typeof
(
element
.
children
[
0
].
attributes
)
!=
'
undefined
'
)
{
if
(
element
.
children
[
0
]
&&
typeof
(
element
.
children
[
0
].
attributes
)
!=
'
undefined
'
)
{
var
height
=
element
.
children
[
0
].
attributes
.
height
,
width
=
element
.
children
[
0
].
attributes
.
width
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment