Tag Info

New answers tagged


The PHP code you posted allows users set the charset universally either through the admin or through a configuration file change. Most sites today use utf-8 for their encoding. Some sites, particularly if they are older or use an unusual character set, use all sorts of other encodings like UTF-16, UTF-32, and ASCII. Otherwise, in the rare occasion you want ...


Isolation By having the editor inside an iFrame it is guaranteed to be isolated from the page it is used in. The containing page can have Javascript, CSS, HTML tags,... that might interfere with the editor if it is not in an iFrame because they might 'bleed into' it. The editor would need to set css styles for every possible element to make sure that the ...

Top 50 recent answers are included