| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
2n 20.09.2008 20:56
Обратил внимание что FCKeditor не отображает выведенные из БД данные, если они имеют разрывы строк. <script type="text/javascript">
<!--
document.location.pathname.substring(0,document.location.pathname.lastIndexOf('admin/')) ^;
var oFCKeditor = new FCKeditor( 'body' ) ^;
oFCKeditor.BasePath = '/editor/' ^;
oFCKeditor.ToolbarSet = 'Default' ^;
oFCKeditor.Height = 300 ^;
^if($edit){oFCKeditor.Value = '^untaint[as-is]{^current_table.body.match[\n|\t][g]{}}}' ^;}
oFCKeditor.Create() ^;
//-->
</script>