Re: AW: a better text editor widget?
"Paul G. Joseph" <[email protected]>
| Newsgroups | gmane.text.xml.cocoon.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Daniel, will give it a shot!
Paul
On 10/17/2013 3:39 AM, Daniel Schmidt wrote:
> Hi Paul,
>
> It's completely front-end based. In the backend, it's based on a usual textarea.
>
> Just look at the example on their website:
>
>
> <html>
> <head><!-- CDN hosted by Cachefly -->
> <script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
> <script>
> tinymce.init({selector:'textarea'});
> </script>
> </head>
> <body>
> <textarea>Your content here.</textarea>
> </body>
> </html>
>
>
> Just do a Textarea with CForms, include the script and append it via tinymce.init. Done.
>
> Then the user will see the Interface with all the buttons. In the textarea, there will be HTML content.
>
> Thanks,
> Daniel
>
>
>
> -----Original Message-----
> From: Paul G. Joseph [mailto:[email protected]]
> Sent: Mittwoch, 16. Oktober 2013 23:34
> To: [email protected]
> Subject: Re: AW: a better text editor widget?
>
> Hi Daniel,
>
> Is this integrated with CForms? How would I save the data and retrieve and display it?
>
> rgds
> Paul
>
> On 10/16/2013 5:19 PM, Daniel Schmidt wrote:
>> Hi Paul,
>>
>> such editors are based on HTML (content) and JavaScript (GUI).
>>
>> Just have a look at: http://www.tinymce.com/
>>
>> Cheers!
>> Daniel
>> ________________________________________
>> Von: Paul G. Joseph [[email protected]]
>> Gesendet: Mittwoch, 16. Oktober 2013 22:07
>> An: [email protected]
>> Betreff: a better text editor widget?
>>
>> Hi there,
>>
>> Does CForms have the ability to use some kind of a text editor inside
>> it? I presently use a simple field, formatted with <fi:styling
>> type="textarea" /> but the customer would like something
>> fancier--like an editor found in a blog, with the ability to do
>> "bolding", add links, use italics and so on.
>>
>> Paul
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>