Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Using Images in Rich text editor (Tiny MCE)
System
Hi,
We are using TS 7.1 along with Sitepublisher on windows 2008. In our sitepublisher components we have a textarea datum which is a rich text editor (Tiny MCE). Users make use of the insert image button to browse for images and add it to the text area.
When the image is inserted it has the relative path as $URL_PREFIX/en/images/abc.jpg, it works fine in Teamsite preview as well in Livesite runtime.
I have a question around deployment of those images to Livesite runtime/webservers? Does the OOTB PLC workflow attaches the images whcih are part of the rich text editor? I don't see the image files are part of DependentURIs, so my assumption is it doesn't attaches the images to the workflow and deployment doesn't happen. Is this an expected behaviour?
Does anyone faced the above issue and any suggestion to solve it?
Thanks,
Arun.
Find more posts tagged with
Comments
miroperez
Yes it's supposed to write the images as dependent uris. We'll have to investigate. Perhaps the url ref of the image is not in the form we expect it in because of the post processing tinymce does. We have had issues with this before where they changed the way the urls get shown then get persisted back to the opening container.
dobrien
Images attached through the Component Properties TinyMCE will generate a dependentURI OOTB in 7.1 -- I verified this. However, DCR TinyMCE images will not be attached until 7.2, with the dependency management service.
Migrateduser
In my case i don't see that happening, even i am using TS 7.1 and here are the steps i followed:
1. Create a component with text area datum with rich text editor enabled.
2. Put the component in a page and edit it.
3. In the rich text editor, use the insert icon and browse to an image, select an image and preview the page, save it and close the window
4. Go to page properties and observe the DependentURI attribute.
5. I don't see them added to the ext attribute.
Please let me know if iam missing something. Also please let me know the Teamsite build no that you have installed.
dobrien
7.1.0 RTX. I verified this using the Basic Content Component from within the Component Guide site's Basic Content.page. Can you try there?
Migrateduser
Yes, i can see that getting added as Dependent URI if i use the OOTB component.
My question here is, how do we publish the image that is referenced by the .page? I published the .page using the OOTB PLC workflow and don't see them added as a dependent assets (Images are new and doesn't exist in STAGING, so ideally PLC workflow should attach those dependencies).
How do you handle this scenario? Is the expectation to publish the images independently?
DynamicColumnFromMappingTbl.zip
Desired output.PNG
dobrien
So if they're part of dependentURI (pre-7.2), they get attached automatically to the workflow. If they're not, then they require manual submission.
If the OOTB Basic Content Component works, I would recommend you to explore what's different about your component. If you're using the same datum, then I would expect the behavior to be the same.
HTH,
Dusty