Skip to Content
Former Member
Dec 29, 2017 at 04:41 PM

Reading text properties of (WysiwygEditorType) of hmc


I have one attribute which has editor of type WysiwygEditorType. As this is rich text editor.

If business user enters any rice text in this like "welcome to EOSS sale" and if i am reading above value for the attribute using model service. how can i get details like which word of the string is bold or underline or in which color.

For ex: in above case EOSS is bold rest is normal text.

is their any way to figure out the same at service layer ?

Idea behind this is , business user can configure text as he wants with custom style using WysiwygEditorType editor in hmc and we can display as is on storefront

alt text