Updated: Comment #N
Problem/Motivation
Having an image from an external source on localhost drupal I got this Preview warning
title="This image has been removed. For security reasons, only images from the local domain are allowed."
but the editor "nicely" shows the image.

It looks to me Drupal and the editor should behave the same.
Steps to reproduce
- Create a story
- Provide a title
- Select full html
- In body select code view
- Insert
<img src="https://drupal.org/files/images/Modules%20|%20Site-Install_0.png" /> - Toggle code view and notice the image is there.
- Click preview
Proposed resolution
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| core-image-secure-or-not-3.png | 234.25 KB | clemens.tolboom |
Comments
Comment #1
wim leersYes, that's pretty much the only thing where WYS != WYG. Drupal's
filter_html_image_secureis not yet mimicked in CKEditor. I agree that it should reflect that, but that may be pretty tricky to achieve. I'll see what can be done.Mitigating factor: the default CKEditor configuration will not allow you to paste external image URLs in the image dialog, it will only allow you to upload images.
Comment #2
clemens.tolboomI've added 'Select Full HTML' as that's what I did. That seems to matter as noted in #2 by @Wim Leers.
Comment #3
wim leersComment #4
wim leersComment #17
quietone commentedCKEditor has been removed from core, CKEditor 4 is removed from Drupal Core in 10.0.0