Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   HTMLArea, RTE, tinymce_rte и другие визуальные редакторы (http://forum.typo3.ru/forumdisplay.php?f=24)
-   -   <br/> вместо <p> в htmlarea (http://forum.typo3.ru/showthread.php?t=1363)

Volodymyr Pavlyuk 27.04.2006 20:00

<br/> вместо <p> в htmlarea
 
привет всем.

скажыте пожалуйста, как заставить htmlarea при нажатии ентера ставить <br/> вместо врапания всего абзаца в <p> ?

Volodymyr Pavlyuk 27.04.2006 20:07

сам же и отвечаю:

FAQ: How do I insert a line break instead of a paragraph?

Using the Enter key inserts a paragraph (<p>, <hx> or <pre>). Using shift-Enter will insert a line break (<br />).
You may also disable RTE Page TSConfig property EnterParagraphs. Then, Mozilla/Firefox browsers will behave in their native mode and pressing the Enter key will insert a br tag. However, Internet Explorer will continue to insert paragraphs on pressing the Enter key.

надо мануали сперва читать :)


Часовой пояс GMT +4, время: 00:16.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot