Jump to content

Formatting Text


mandrews81

Recommended Posts


As I am creating this message I am typing into a '<textarea>' tag that allows me to format the text much like  a normal document editor.

I am developing a content management site and need a simple way for non-html programming users to enter formatted text and spell check the text that will be placed into a database column and then pulled from the column and displayed in a page.

Anyone doing this and what are you using?

Max
Link to comment
https://forums.phpfreaks.com/topic/29798-formatting-text/
Share on other sites

For a periodical site that I've written for the university here, I allow the web editor to use a combination of custom BBCode tags. Redbullmarkey is [b]right on[/b] with his recommendation of TinyMCE, but I found that I didn't want to give them that much flexibility in my situation since TinyMCE [i]generates[/i] the HTML for you, and at times, this can cause little layout glitches. I prefer to control my content at a baser level.

Also, to help with text presentation, check out [url=http://www.michelf.com/projects/php-smartypants/]PHP Smartypants[/url] to help with fixing all your "smart quotes" as well as hyphens, elipses and other such characters.
Link to comment
https://forums.phpfreaks.com/topic/29798-formatting-text/#findComment-136857
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.