Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
I'm planning to use TinyMCE. But since what I actually need is just a textarea that accept pasted HTML that when submitted will submits the HTML source (as in TinyMCE), without the TinyMCE toolbar and etc stuff in TinyMCE package, I'm wondering if it's too complicated or not to create the JavaScripts to achieve this.
Any samples? Clues? Thank you in advance.
>.<
---
Fubar

I'm not understanding your problem. You can simply paste HTML code into a textarea without any modifications and it will POST just fine. It is what happens on the back-end that matters (i.e. the processing page). For example in this forum some HTML tags are interpreted in posts and others are not. Those were predetermined decisions by this forum's owner that were specifically written into the code.
Michael J

I'm so sorry for not being clear.
Let's see this TinyMCE textarea.
You can ctrl-a then ctrl-c on this page (this computing.net page), and ctrl-v it there on the TinyMCE textarea...
On submit, complete HTMLs (including table tag, title attribute, class, id) will be passed. This can't happen on normal textarea, no?
TinyMCE does the job, but I don't need their toolbar (which can be hidden but with problem which probably there's a workaround, and so on.).
So I'm wondering if having a textarea to be able to understand pasted HTML and also POST it, is a complicated/complex JavaScript or not?
---
Fubar

Oops...
I mean this:
http://tinymce.moxiecode.com/punbb/...
might be useful for someone.
---
Fubar

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |