I'm using tinyMCE to edit content from an existing website. This website has links in the format:
http://localhost/start.jsp%3Fparam=value
where the %3F is the escaped string for the question mark character. When TinyMCE edits a page containing one of these links, it converts the "%" sign into "%25" which breaks the link.
How can I disable tinyMCE's escaping of percent signs?
I have the following configuration set:
tinyMCE.init({
mode: "specific_textareas",
editor_encoding: "raw",
editor_selector: "tinyMCE",
relative_urls : false,
convert_urls : false
}
Note: I am using setContent to populate the initial value of the tinyMCE editor.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…