![]() |
Using tinyMce in codeigniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Using tinyMce in codeigniter (/showthread.php?tid=19337) Pages:
1
2
|
Using tinyMce in codeigniter - El Forum - 06-04-2009 [eluser]Unknown[/eluser] Using tinyMce editor i am getting some problem.The data inserted in to database with [paragraph]<p></p> tag.I dont want data inserted like this..Please provide solution. Using tinyMce in codeigniter - El Forum - 06-04-2009 [eluser]Dam1an[/eluser] You need to be more specific with your questions, and show some effort on your part You can't expect people to just come here and do it all for you (plus you won't learn that way) Also, have you tried googling this one? It's the first result Using tinyMce in codeigniter - El Forum - 06-04-2009 [eluser]Derek Allard[/eluser] auto_typography() Using tinyMce in codeigniter - El Forum - 06-04-2009 [eluser]Phil Sturgeon[/eluser] This is nothing to do with CodeIgniter. It is the default behaviour of TinyMCE as of version 3.0.x. Add this to your tinyMCE.init(). Quote: force_p_newlines : false, You really need to start using Google dude... Using tinyMce in codeigniter - El Forum - 06-04-2009 [eluser]Dam1an[/eluser] Phil, I'm suprised you didn't link to "Let me Google that for you" lol ![]() Using tinyMce in codeigniter - El Forum - 06-04-2009 [eluser]Thorpe Obazee[/eluser] [quote author="Dam1an" date="1244148652"]Phil, I'm suprised you didn't link to "Let me Google that for you" lol ![]() that's getting popular in these forums ![]() Using tinyMce in codeigniter - El Forum - 06-04-2009 [eluser]Colin Williams[/eluser] The whole point of TinyMCE is to let the user create HTML formatted text. Using tinyMce in codeigniter - El Forum - 06-05-2009 [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. :-) Using tinyMce in codeigniter - El Forum - 06-05-2009 [eluser]Dam1an[/eluser] [quote author="Phil Sturgeon" date="1244207197"]Let's just answer people's questions instead of making them explain themselves. :-)[/quote] I take it you didn't see the half dozen posts yesterday of people sayin "Give me code to do XYZ" etc, where it seems they've made no prior effort and just expect the answers Using tinyMce in codeigniter - El Forum - 06-05-2009 [eluser]Thorpe Obazee[/eluser] [quote author="Dam1an" date="1244207388"][quote author="Phil Sturgeon" date="1244207197"]Let's just answer people's questions instead of making them explain themselves. :-)[/quote] I take it you didn't see the half dozen posts yesterday of people sayin "Give me code to do XYZ" etc, where it seems they've made no prior effort and just expect the answers[/quote] LOL. not to talk about a lot of previously answered questions. |