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
Merge requests
!4
[BUGFIX] Do not prepend siteUrl in RTE when handler keyword is present
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[BUGFIX] Do not prepend siteUrl in RTE when handler keyword is present
mhuber84/tinymce4_rte:master
into
master
Overview
1
Commits
1
Changes
Merged
Marco Huber
requested to merge
mhuber84/tinymce4_rte:master
into
master
9 years ago
Overview
1
Commits
1
Changes
-
Expand
see
https://review.typo3.org/#/c/44713/
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
2d2755e4
1 commit,
9 years ago
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Resources/Public/JavaScript/RteLinkBrowser.js
+
2
−
2
Options
@@ -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;
}
Loading