Opened 16 years ago
Closed 15 years ago
#3401 closed New Feature (fixed)
V3 - Implement baseHref functionality
Reported by: | Artur Formella | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.1 |
Component: | General | Version: | SVN (CKEditor) - OLD |
Keywords: | Confirmed Review+ | Cc: |
Description
We have base tag config but it works in preview only.
Attachments (4)
Change History (23)
comment:1 Changed 16 years ago by
Summary: | V3 - Implement basetag funcionality → V3 - Implement basetag functionality |
---|
comment:2 Changed 16 years ago by
comment:4 Changed 16 years ago by
Milestone: | CKEditor 3.x → CKEditor 3.1 |
---|
comment:5 Changed 15 years ago by
Keywords: | Confirmed added |
---|
comment:6 Changed 15 years ago by
Summary: | V3 - Implement basetag functionality → V3 - Implement baseHref functionality |
---|
Changed 15 years ago by
Attachment: | 3401.patch added |
---|
comment:8 Changed 15 years ago by
Keywords: | Review? added |
---|
Include the latest patch at #4067 for easy reviewing.
comment:10 Changed 15 years ago by
Keywords: | Review- added; Review? removed |
---|
Let's have #4067 closed first at this point, having a new patch here for this tickets needs only.
comment:11 Changed 15 years ago by
Keywords: | Review? added; Review- removed |
---|---|
Version: | → SVN (CKEditor) |
Review has to be conducted with the fullpage branch.
comment:12 Changed 15 years ago by
Keywords: | Review- added; Review? removed |
---|
The basehref must also be active in the previews of the image and flash dialogs.
comment:13 Changed 15 years ago by
The initial support for this feature has already been committed into the 3.1.x branch with [4636]. The fix for the above issue is still missing though, and this should be done through patches in this ticket now.
Changed 15 years ago by
Attachment: | 3401_2.patch added |
---|
comment:14 Changed 15 years ago by
Keywords: | Review? added; Review- removed |
---|---|
Status: | assigned → new |
Changed 15 years ago by
Attachment: | 3401_3.patch added |
---|
comment:15 Changed 15 years ago by
Status: | new → assigned |
---|
3401_3 is unobtrusive while 3401_2.patch are just safer.
comment:16 Changed 15 years ago by
Keywords: | Review- added; Review? removed |
---|
The 3401_2.patch is the way to go for me, but it throws "Permission denied" in IE when inserting an image, going to source and back, and opening the image dialog again. I think the previous previewImage DOM object is being used, but the editor.document has been destroyed and recreated.
3401_3.patch is not good instead. It's not working on all cases.
The following are the TCs I'm using:
URL: logo.gif config.baseHref = 'http://www.google.com/intl/en_ALL/images/';
URL: ../images/logo.gif config.baseHref = 'http://www.google.com/intl/en_ALL/images/';
URL: /intl/en_ALL/images/logo.gif config.baseHref = 'http://www.google.com/intl/en_ALL/images/';
URL: http://www.google.com/intl/en_ALL/images/logo.gif config.baseHref = 'http://www.yahoo.com/';
Changed 15 years ago by
Attachment: | 3401_4.patch added |
---|
comment:17 Changed 15 years ago by
Keywords: | Review? added; Review- removed |
---|
"Permission denied" in IE...I think...the editor.document has been destroyed and recreated.
True, but should be IE6 only, where cross document element is treated as a security risk.
3401_3.patch is not good instead.
I failed to take considering of the 3rd TCs.
Manual Test added at :
http://ckeditor.t/tt/3401/1.html.
comment:18 Changed 15 years ago by
Keywords: | Review+ added; Review? removed |
---|
comment:19 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with [4665] at 3.1.x branch.
What do you mean with "basetag"? Is it the "baseHref" setting?