0

It usual that location of viewed pages is different from location of edited. So, image urls will be broken in CKEditor by default. How to set path to images so that thet displayed ok while editing page?

4

2 回答 2

1

只需将baseHref设置为最终页面的路径即可。

于 2012-07-16T12:37:00.420 回答
0

如果您的图像源以/它表示域开头,例如,如果您将图像放入images文件夹中public_html,则您的源路径应该是/images/file_name.png并且它将在网站和 ckeditor 上工作。

于 2012-07-16T09:00:57.843 回答