Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.