I'm trying to make a simple webeditor.
I create the editor with ReplaceTextArea and use a PHP require to add the html.
Whatever, however I add <base href and/or .BaseHRef images still does not show up
Yes, I can insert an image, no problems. But I need the images in the html file to
show up in the editor !
Tried both 2.6.4.1 and the latest nightly, same problem.
Please help !
PS: Tried Ckeditor 3RC and there it works but with no upload I cannot use it.
/ma1999
<head> <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="/fckeditor/fckeditor.js"></script> <base href="http://localhost/kund/tuna/"> <script id="headscript" type="text/javascript"> window.onload = function() { var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = '/fckeditor/'; oFCKeditor.BaseHref = '/kund/tuna/'; // oFCKeditor.BaseHref = 'http://localhost/kund/tuna/'; oFCKeditor.Height = '500'; oFCKeditor.ReplaceTextarea() ; } </script> </head> <body> <form > <?php printf("<form name=\"form1\" method=\"post\" action=\"index.php?p=1\">\n"); printf("<textarea id=\"FCKeditor1\">\n"); require("D:/htdocs/kund/tuna/dagbok.html"); printf("</textarea>\n"); printf("<INPUT type=submit value=\"spara\" name=\"level\">\n"); printf("</form>\n"); ?> </form> </body> </html>