Does anyone know if there's a way to add an RTE to textarea fields within salesforce? I'm fairly new to the platform but i haven't been able to find any useful documentation on this.
In addition to the component, there's also an example of integrating the open source FckEditor component into Visualforce here:
http://blog.sforce.com/sforce/2009/05/a-rich-editor-component-for-visualforce.html
If you're using VisualForce, you can use the inputTextArea tag to edit/save rich text. Set the "richText" attribute to true.
Related
Is it possible to display or embed a custom editor inside a form page(form toolkit)? I have created a eclipse plugin where i need to embed a custom editor inside a multi - page form editor.
Is it possible?
If possible, How?
Am a newbie in eclipse plugin, This question may look easy for you people. Please help with this. I have searched a lot in internet but i couldn't find any perfect solution.
Updated :
i want to implement text box(text area) as shown in picture .I know the simple textarea but dont know this type of text area which gives formatting ,numbering facility,Since iam new to rails plz help me
This is not something that Rails provides, but there are many javascript wysiwyg plugins that solve this problem. This has worked well for me before: https://github.com/spohlenz/tinymce-rails
I want to add some client-side functionality to the PrimeFaces p:editor, but for some reason I am not able to uncover what JavaScript client side code they used to build the component. Could anyone point me to that?
P.S. two things I want to do is make the component resizable (PrimeFaces doesn't support that) and I want to add shortcut buttons to insert pre-programmed text. Any hints about how this will done will be appreciated.
PrimeFaces p:editor uses CLEditor
look at this thread
also you should take a look at the PrimeFaces Extensions Project they implemented an editor that uses the CKEditor
<p:editor/> JavaScript source is located in /META-INF/resources/primefaces/editor/editor.js inside primefaces-xxx.jar.
I need to add a rich text editor to my website. This my first time doing this, so which rich text editor do you suggest I use? I need one that is fully functional and easy to integrate with a rails application, also I am using prototype.
Thanks in advance :)
A very promising one is the Aloha Editor
You can add an editor like TinyMCE as the posters above have recommended. However IMHO the HTML generated by these editors tends to get messy. I would suggest you look at something like Redcloth. With a text field. And for added bling you could give a ajaxy preview, just like stackoverflow does!. This would be a much more cleaner solution IMHO.
If you are going to use a WYSIWYG editor, take a look at CKeditor and also the Yahoo YUI2 Rich Text Editor.
As for TinyMCE there is a Rails plugin that would make things easier if you decide to use it.
I would suggest TinyMCE which is really easy to implement. You just add an id for the textarea you want to use and then use that id in the configuration of TinyMCE. You could even configure TinyMCE to put a RTE on ALL textareas.
It's written in javascript so it doesn't matter what backend you use.
http://tinymce.moxiecode.com/
And here's an example with source:
http://tinymce.moxiecode.com/tryit/full.php
Aloha looks nice and has some very nice features, but I've run into some annoying bugs. You may want to take a look at Mercury.
I inherited the management of a Symfony site and need to add some HTMl form tags to one of the "static" pages via the CMS. The scenario I have is:
/index.php/splash/welcome pulls up the welcome screen.
We want to be able to add a subscription button on that page.
The HTML has been supplied for us by the company that handles the subscriptions.
The form post method has an action that references a script on a remote site (no lectures on the security implications please ;-).
When I add the <form... and <input... tags via the CMS admin panel, the tags get removed automatically by Symfony.
Is there a way to tell Symfony to allow these tags?
Thanks in advance,
Marty.
This is goign to depend completely on how the developer set up the CMS. Youre using a rich text editor in source mode i would take a look at that editor's config file and documentation because its probably the one responsible for stripping the tags.
If its just a plain text area i would check the submit action for the edit form and take a look at the code... he may be using something to strip them in there.
If youre using one of the Symfony CMS plugins (Diem, Apostrophe, Sympal) i might be able to help further if i know which one youre using. If its something custom we would need to see the code. This isnt really indiciative of the Symfony core, but rather the CMS youre using.