The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> FORMATTING TOOLS FOR HTML TEXTAREA TAG
shankar from vizag
post Oct 6 2019, 06:32 AM
Post #1


Advanced Member
****

Group: Members
Posts: 166
Joined: 18-June 13
Member No.: 19,316



Greetings

Can I place formatting buttons like BOLD, ITALIC, CENTER, INSERT-TABLE like buttons for textarea box in html Similar to the attachment. So that user can edit the text entered in textarea according to the requirement.

Can anyone suggest and guide me in this regard.

regards
SHANKARAttached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 6 2019, 02:00 PM
Post #2


.
********

Group: WDG Moderators
Posts: 8,256
Joined: 10-August 06
Member No.: 7



See https://en.wikipedia.org/wiki/Bbcode
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 6 2019, 04:52 PM
Post #3


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,463
Joined: 9-August 06
Member No.: 6



Yeah, but a server side program that can parse the bbCode is also needed.

The UI is easy enough. I've extended the toolbar for a forum only using simple JS. Basically you could borrow that part from an existing forum or similar.

What do you want this for? A forum, blog comments or what? Any chance there already is a bbCode parser in use?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 6 2019, 05:04 PM
Post #4


.
********

Group: WDG Moderators
Posts: 8,256
Joined: 10-August 06
Member No.: 7



QUOTE(pandy @ Oct 6 2019, 11:52 PM) *

Yeah, but a server side program that can parse the bbCode is also needed.

That's the easiy part actually, all you need is a simple character replace between each BBCode tag and corresponding HTML.


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 6 2019, 09:12 PM
Post #5


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,463
Joined: 9-August 06
Member No.: 6



Yes, but you need to do it. And modding a complex program like a forum isn't the easiest if you aren't a programmer.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
shankar from vizag
post Oct 18 2019, 11:10 PM
Post #6


Advanced Member
****

Group: Members
Posts: 166
Joined: 18-June 13
Member No.: 19,316



QUOTE(pandy @ Oct 7 2019, 07:42 AM) *

Yes, but you need to do it. And modding a complex program like a forum isn't the easiest if you aren't a programmer.


Sorry for the delayed reply.

Actually I need it for an off-line usage.

I need an interface just like an MS-word with limited options, like center, justification, underline, fontcolor, bullets, bold and font size. This is for purely private usage between a group of people under LAN (intranet).

I welcome your valuable suggestions please.

regards

SHANKAR SB
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 19 2019, 05:14 AM
Post #7


.
********

Group: WDG Moderators
Posts: 8,256
Joined: 10-August 06
Member No.: 7



If you're submitting the form to an intranet server, it works the same as online. The formatting BBcode is just part of the ordinary form submission.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 19 2019, 05:31 AM
Post #8


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,463
Joined: 9-August 06
Member No.: 6



And what I said applies also. Something magic doesn't happen with the bbCode if your program doesn't understand it and make it happen.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 15th December 2019 - 05:32 AM