creativeorange / craft-article

Edit richt text content in Craft CMS using Article by Imperavi.
Other
7 stars 3 forks source link

Flash of unstyled content #8

Closed piotrpog closed 3 years ago

piotrpog commented 3 years ago

When element page with article field loads, we briefly see textarea before JS loads and article editor initializes.

dejury commented 3 years ago

Hi @piotrpog

Thanks for your feedback, since we are using a CDN to load the javascript (due to licensing restrictions) we are not entirely sure if we can fix this. We will keep this in mind for a future update, for now I will close the issue!

piotrpog commented 3 years ago

@dejury maybe article emits some event when it is initialized? So until then, textarea could be just hidden by display: none

dejury commented 3 years ago

@dejury maybe article emits some event when it is initialized? So until then, textarea could be just hidden by display: none

Good suggestion, will have a look at this shortly.