Copy link to clipboard
Copied
The code below generated the editor tool where you can add the text in the box, but when i click on image tag, there is no browse button to browse the image from the local file. Can anyone helps?
thanks
===========
<cfsetting enablecfoutputonly="true">
<cfprocessingdirective pageencoding="utf-8">
<cfset baseURL = GetDirectoryFromPath(CGI.SCRIPT_NAME)>
<cfset theName = "richText01">
<cfoutput>
<p class="contentSubTitle">normal Rich Text Editor</p>
<cfform name="#theName#Form">
<cftextarea name="#theName#" richtext="yes" width="600" height="400" />
</cfform>
</cfoutput>
Copy link to clipboard
Copied
http://www.dedestruct.com/2008/03/22/howto-cross-browser-cursor-position-in-textareas/
and
http://www.google.co.uk/search?q=javascript+get+cursor+position+in+textarea&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a