ckeditor里的html实体被textarea自动转义怎么办?
其实很简单,加上htmlspecialchars()函数就可以了。
<textarea id="content" name="content"><?php echo htmlspecialchars( $row->content); ?></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'content' );
</script>
我们期待收到您的消息