PyroCMS v2.1
选择“格式化”文本类型时,在所见即所得(ckeditor)中添加新行/空白。有没有办法解决这个问题?
预期的代码如下所示:
class person {
public $name;
function __construct($persons_name) {
$this->name = $persons_name;
}
function set_name($new_name) {
$this->name = $new_name;
}
function get_name() {
return $this->name;
}
}
但最终看起来像这样:
class person {
public $name;
function __construct($persons_name) {
$this->name = $persons_name;
}
function set_name($new_name) {
$this->name = $new_name;
}
function get_name() {
return $this->name;
}
}