Welcome Guest, Not a member yet? Register   Sign In
Using tinyMce in codeigniter
#8

[eluser]Phil Sturgeon[/eluser]
[quote author="Colin Williams" date="1244186234"]The whole point of TinyMCE is to let the user create HTML formatted text.[/quote]

Something else thats getting pretty popular on the forums. If somebody asks a question, we should answer it AND offer advice, dont just say "well why do you want to do that?".

He wants to remove the wrapping <p> tags so he has control over how the block is output. I use a simple and advanced config, which allows me to have one with no p tags and using br, then another that is fully managed by TinyMCE.

For example, this is handy on news articles where you want to have a "Read more" link without it being forced down to the next paragraph, but you also want your article to be wrapped in p tags for each new paragraph.

Let's just answer people's questions instead of making them explain themselves. :-)


Messages In This Thread
Using tinyMce in codeigniter - by El Forum - 06-04-2009, 04:25 AM
Using tinyMce in codeigniter - by El Forum - 06-04-2009, 04:34 AM
Using tinyMce in codeigniter - by El Forum - 06-04-2009, 04:41 AM
Using tinyMce in codeigniter - by El Forum - 06-04-2009, 09:49 AM
Using tinyMce in codeigniter - by El Forum - 06-04-2009, 09:50 AM
Using tinyMce in codeigniter - by El Forum - 06-04-2009, 06:40 PM
Using tinyMce in codeigniter - by El Forum - 06-04-2009, 08:17 PM
Using tinyMce in codeigniter - by El Forum - 06-05-2009, 02:06 AM
Using tinyMce in codeigniter - by El Forum - 06-05-2009, 02:09 AM
Using tinyMce in codeigniter - by El Forum - 06-05-2009, 02:21 AM
Using tinyMce in codeigniter - by El Forum - 06-05-2009, 03:38 AM
Using tinyMce in codeigniter - by El Forum - 06-05-2009, 04:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB