Hi, also you can check what your fck editor generates by modifying your fckeditor config js: Set property: MgnlFCKConfig.source = true;
which leads to the execution of this:
if (MgnlFCKConfig.source) {
toolbar[0].push('-');
toolbar[0].push('Source');
}
Then you will have a "source"-button in the editor to switch between
richtext and generated html.
In the attached Image it is the button called "Quellcode".
Also see this:
http://wiki.magnolia-cms.com/display/WIKI/How+to+configure+fckEditor
Greetings,
Anton
On Tue, Mar 22, 2011 at 3:33 PM, Jan Haderka
<[email protected]>wrote:
>
> On Mar 22, 2011, at 3:01 PM, Jon RINGWOOD PSE 55500 wrote:
>
> I know about the search and have read that page but it's just relating to
> enterMode and the default html tags. My problem is that extra text is added
> to the content with the tag which displays as '<p>'.
>
>
> The surrounding <p> tag is exactly what the issue is about.
>
> If what you are trying to say is that problem is not having extra p tag,
> but when rendered in STK template, html tags from the fck originated text
> are not processed, and are instead escaped and show in the text, then the
> problem is in your template. To prevent html/js injection STK will be
> default escape all the tags. If there is a place in the template where you
> want to allow raw htlm from the content you need to decode it back
> ${stk.decode(content).myFckOriginatedText} ... I believe in recent version
> the decode/encode methods were moved from stk to mgnl, so you might want to
> use mgnl.decode() instead of stk.decode() if available in your version.
>
> HTH,
> Jan
>
>
> >>> On 22/03/11 at 12:15, Jan Haderka <[email protected]>
> wrote:
> there is customized google search box in the top right corner of
> http://documentation.magnolia-cms.com
> It searches through documentation, wiki, jira, Magnolia website and mail
> archives. It is usually the best place to start any Magnolia related search.
>
>
> just enter "fckEdit paragraph tag" (w/o quotes) and first result that comes
> back should be what you are looking for:
> http://jira.magnolia-cms.com/browse/MAGNOLIA-2143
>
> Cheers,
> Jan
>
>
> On Mar 22, 2011, at 12:57 PM, Jon RINGWOOD PSE 55500 wrote:
>
> I did look through the archives but couldn't see anything relating to
> this, just issues about enterMode and shiftEnterMode which don't appear to
> affect it at all.
>
> If I can't use multiple fckEdit controls in the same dialog I suppose I
> will have to create separate paragraphs for each tab to make sure it works.
> It's not the ideal solution really.
>
> Anyone any idea what the problem could be?
>
> ------------------------------
>
>
> >>> On 22/03/11 at 10:17, Jan Haderka <[email protected]>
> wrote:
> This is not related to the fact that you use multiple instances of the
> fckEdit in multiple tabs, but to the fck configuration itself. I don't
> remember the details, but topic was discussed here approximatelly year ago.
> You should find the answer if you search the archives of the list.
>
> HTH,
> Jan
> On Mar 22, 2011, at 10:16 AM, Jon RINGWOOD PSE 55500 wrote:
>
> Hello,
>
> I've created a paragraph dialog with multiple tabs, several of which have
> fckEdit fields. When I add content to these fields in the dialog it looks
> fine but when the page is rendered <p> and </p> tags are actually added to
> the content. They don't display in the fckEdit dialog but are part of the
> content and also show in the JCR Browser.
>
> Has anyone come across this before or is it just a fact that you can't have
> multiple fckEdit controls in the same dialog?
>
> Thanks
>
> Jon
>
>
>
> ------------------------------
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> This email and any other accompanying document (s) contain information from
> Kent Police, which is confidential or privileged. The information is
> intended to be for the exclusive use of the individual(s) or bodies to whom
> it is addressed. The content including any subsequent replies could be
> disclosable if relating to a criminal investigation or civil proceedings. If
> you are not the intended recipient, be aware that any disclosure, copying,
> distribution or use of the contents of this information is prohibited. If
> you have received this email in error, please notify us immediately by
> contacting the sender or telephoning 01622 690690.
>
>
>
>
>
> ------------------------------
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>
> ------------------------------
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>
>
>
>
> ------------------------------
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>
> ------------------------------
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>
>
>
>
> ------------------------------
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
<<attachment: source.png>>
