|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Problems with WYSIWYG html editor
This post is in connection with the article on the WYSIWYG
HTML editor. We used the article and created an editor which our company buildt into a website to allow our clients to update their own content. We have, however come across a fundamental problem with this editor, and I was hoping somebody could shed some light on the problem, or possibly steer me in the direction of somebody who could help. When we begin a new development, we usually create a temporary site, the URL of which is totally different to the one it will later be moved to. If we have a page which contains images, and the editor can't "see" the image because the current path (from the administration side) is incorrect, the editor automatically creates the path in the HTML code. Is there a way to prevent this from happening at all? and if so, how? Last edited by nousey : August 20th, 2002 at 02:31 AM. |
|
#2
|
|||
|
|||
|
Firstly, only post the question once, it just means i have to delete one!
ok, now for your problem, if your using php, you can use $_SERVER[''] vars check out this page URL i think something like this might help echo $_SERVER['SCRIPT_FILENAME']; i could be wrong tho, just keep on trying |
|
#3
|
|||
|
|||
|
The problem really doesn't seem to be on the PHP side...it is with the editor itself. For example, it automatically does stuff, like if you type in an e-mail address it automatically links it, etc ...which is not a problem on its own...but when it starts completing paths for images it creates problems.
Last edited by nousey : August 20th, 2002 at 02:33 AM. |
|
#4
|
|||
|
|||
|
can you post the code thats giving you trouble?
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Problems with WYSIWYG html editor |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|