TinyMCE and Formatting Articles


By David | September 6, 2010 | Home | Blog Categories | Mods

We were perplexed for some time trying to figure out why cutting and pasting text from a web page into the editor almost always resulted in a loss of formatting to the point that the article was rendered difficult to read, and organizational elements were lost. Part of the reason for this is the recent push for web editors (and web pages in general to be web standards compliant. There are certain tags that have been depreciated. For example, the bold tag was replaced with the strong tag. However, when it comes to cutting and pasting or user submitted content, you can't always depend on standards compliance, and you can be sure there will be problems with the default tinyMCE settings. 

 

Now we are not making a judgement call here. Instead, we are simply offering the ability to use legacy code in tinyMCE so that cutting and pasting and user submitted content can be more easily rendered. For those that are more concerned about standards, this may not be a choice you want to make, and you may instead prefer to use the current tinyMCE settings and do things like format content submitted by users yourself after the fact.

 

What we have in the download are replacement files for rte.tpl for both the frontend of phpLD and the admin. Simply overwrite your existing rte.tpl file with the file in the download, and you can see for yourself if this is a good strategy for your site, especially if you are running a site that receives lots of article submissions, etc.




« Back to Mods
Previouse article: phpLD Mod Control Panel
Next article: Claim Listing Mod

Publish date: September 6, 2010
Printer version    
Available downloads

Support Our Sponsors

Posts by Category

   categories Articles
   categories Development Blog
   categories Helpful Resources
   categories Mods
   categories News
   categories Spotlight on Great Directories
   categories Templates
   categories Tutorials

Hosting

A great prize awaits if you use our recommended host. Take a look at our special offer to find out how you can get our product virtually free. or receive other benefits. We also have a recommended hosts page, and we give you credits such as our product just for signing up with them.