I usually just edit the iframe.html manually to include basepath but I wanted to use something abit more dyanamic in my config.
This however just breaks WYMeditor...
Is there anyone who has used iFrameHTML before successfully? Do I need to modify my iframe.html at all?
- Code: Select all
iframeHtml: "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'"
+ " 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>"
+ "<html><head>"
+ "<title>WYMeditor</title>"
+ "<link rel='stylesheet' type='text/css' media='screen' href='wymiframe.css' />"
<?php echo "+ \"<base href='$baseurl' />\""; ?>
+ "</head>"
+ WYM_IFRAME_BODY
+ "</html>",