We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Invisible Text in Documenteditor

Hi Guys,

we're currently evaluating your products for our new Application.
We have included the DocumentEditor in our Angular 8 App successfully. It all works, but we don't see any text in the editor?!



U can see in the picture above, we added some text, links and a image into the editor. We also mark some text with a background color. But the text is not visible. 
If we change font type or size the "displayed (when marked) text" changes accordingly. So the complete text will get "rendered" but i looks like its invisble / transparent. We also tried to change the font-color as well, but nothing happens.

Do you have any clue what the problem is?

Thanks for your help,
Sascha


3 Replies

SG Sascha Grüßhaber September 9, 2019 08:28 AM UTC

Good Morning Guys,


we found the cause of the problem. Our theme is using normalize.css and it contains the following lines:

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
... }

And these lines destroy your component, if we comment them out or delete these lines, we see the text in the document editor.

Now our Question, could you fix this for an upcoming release?

Greetings from Bavaria,
Sascha



SM Suriya Murugan Syncfusion Team September 10, 2019 05:02 AM UTC

Hi Sascha,  
 
Thank you for sharing the information.  
 
We can able to reproduce the reported issue. Currently, we are validating the issue and we will share the more details once validated. 
 
Regards, 
Suriya M. 



SM Suriya Murugan Syncfusion Team September 10, 2019 11:47 AM UTC

Hi Sascha, 
 
Thank you for your patience. 
 
We have validated the reported issue. We have logged the defect report for this issue. We will fix and include it in our upcoming EJ2 patch release which is scheduled on September 25,2019. 

As a workaround solution, you just remove the below mentioned css in normalize.css file, then start working on it. 
  
body { 
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex; 
    -webkit-box-orient: vertical; 
    -webkit-box-direction: normal; 
    -ms-flex-direction: column; 
    flex-direction: column; 
  } 
  
Please let me know if you have any questions. 

Regards, 
Suriya M. 


Loader.
Live Chat Icon For mobile
Up arrow icon