C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

RichTextEditor HTML Index

rated by 0 users
This post has 1 Reply | 0 Followers

Top 75 Contributor
Posts 86
toddpi314 Posted: Thu, Nov 20 2008 4:40 PM
I am still having a hard time Moving between underlying HTML and Editor DOM.For instance, I need to be able to select text in the Editor View and then communicate Inline Index in HTML to another tier in our Architecture.This process needs to work both ways, as we need to be able to Select Editor DOM Object via HTML Index. Please instruct on how to do this.

 

Top 10 Contributor
Posts 1,077
C1_MaxM replied on Fri, Nov 21 2008 7:03 AM
That's not currently possible. No special information about the html stream is saved when creating a document from html. Also, the html elements and our document elements don't map one to one in all cases, which makes mapping positions kind of hard. We are planning to add an Id property to our elements, that will be loaded and saved from html, maybe that will help. If you could give us a bigger picture of what you are trying to accomplish maybe we could find a good solution.
Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.