Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tinymce4_rte
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TYPO3
tinymce4_rte
Commits
2d2755e4
Commit
2d2755e4
authored
9 years ago
by
Marco Huber
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] Do not prepend siteUrl in RTE when handler keyword is present
see
https://review.typo3.org/#/c/44713/
parent
cdef73a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
[BUGFIX] Do not prepend siteUrl in RTE when handler keyword is present
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Resources/Public/JavaScript/RteLinkBrowser.js
+2
-2
2 additions, 2 deletions
Resources/Public/JavaScript/RteLinkBrowser.js
with
2 additions
and
2 deletions
Resources/Public/JavaScript/RteLinkBrowser.js
+
2
−
2
View file @
2d2755e4
...
...
@@ -101,8 +101,8 @@ define(['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser)
input
=
'
id=
'
+
input
.
substr
(
5
);
}
// if
it's no mail or
external link, we always prepend the siteUrl
if
(
input
.
indexOf
(
'
mailto:
'
)
!==
0
&&
!
attributes
[
'
data-htmlarea-external
'
])
{
// if
there is no handler keyword (mailto:, record:, etc) or an
external link, we always prepend the siteUrl
if
(
!
/^
\w
+:/
.
test
(
input
)
&&
!
attributes
[
'
data-htmlarea-external
'
])
{
input
=
RteLinkBrowser
.
siteUrl
+
'
?
'
+
input
;
}
...
...
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