Re: Farcry 4.0 Richtexteditor error

monkeyvu <[email protected]> Mon, 21 Sep 2009 00:32:14 -0700 (PDT)
Newsgroups gmane.comp.cms.farcry.user
Message-ID <5c4afcb5-688b-458a-ba82-b76cb03878a2@u16g2000pru.googlegroups.com>
I've saved the website as HTML page then looked at the source code. We
embed the JS 2 times:

<script type=3D"text/javascript" src=3D"content_overview_data/
tiny_mce.js"></script>
....
.....
<script type=3D"text/javascript" src=3D"content_overview_data/
tiny_mce.js"></script>

And we have functions TinyMCE_getSelectedText and insertHTML appear 2
times in the code as well.

I think that is the reason. Can we just only embed those things only
one?

My source code is as below:

	<widgets:plpWrapper>
		<cfoutput>

		<form action=3D"#CGI.script_name#?#CGI.query_string#" method=3D"post"
name=3D"editform" class=3D"f-wrap-1 wider f-bg-short">
			<label for=3D"sourceCitation">
				<widgets:richTextEditor textareaName=3D"sourceCitation"
value=3D"#output.sourceCitation#" fieldLabel=3D"Source Citation:"><br />
			</label>

			<label for=3D"sourceCitation1">
				<widgets:richTextEditor textareaName=3D"sourceCitation1" value=3D""
fieldLabel=3D"Source Citation1:"><br />
			</label>

			<input style=3D"display:none;" type=3D"submit" name=3D"buttonSubmit"
value=3D"submit" />
		</form>

		</cfoutput>
	</widgets:plpWrapper>


On Sep 21, 11:21=A0am, monkeyvu <[email protected]> wrote:
> Hi all,
>
> I'm having an issue with Rich Text Editor in Farcry 4.0
>
> I can't have 2 editors in the same page.
>
> For example:
>
> When I use:
>
> <widgets:richTextEditor textareaName=3D"description"
> value=3D"#output.description#" fieldLabel=3D"Description:"><br />
>
> It's ok. But when I add 1 more editor:
>
> <widgets:richTextEditor textareaName=3D"dimensions"
> value=3D"#output.dimensions#" fieldLabel=3D"Dimensions:">
>
> The first editor will be disappear and it becomes a normal text area.
> The second one is ok.
>
> Do you know this issue?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "=
farcry-user" group.
To post to this group, send email to farcry-user-/[email protected]
To unsubscribe from this group, send email to farcry-user+unsubscribe@googl=
egroups.com
For more options, visit this group at http://groups.google.com/group/farcry=
-user?hl=3Den
-~----------~----~----~----~------~----~------~--~---