0

We are running through one issue in Sitecore, Please let me know if anyone faced similar issue and know the solution. We are trying to copy content from MSWord (Which uses custom fonts "Times new roman navajo" downloadURL: https://www.dinecollege.edu/current_students/current-students/ ) to Sitecore content editor, When we copy the content it is coming in unreadable format as showing in the below screenshot. Can you please suggest how to fix this.

enter image description here

It should come like below: enter image description here

2
0

There could be 2 problems here:

  1. Different character encoding in Word document and in Sitecore. You can try to save MS Word file using UTF-8 encoding. Then copy text with new encoding and try if it works.

  2. You use characters that are not available in the default font. In this case, you need to use the same font for RTE and on the website itself. You need to find setting WebStylesheet in your config files. It will point you to css file with styles for RTE. You need to add your font in this stylesheet file. Also you will need to add your font to common stylesheet file on your website (But that is different in each Sitecore installation, I could not point you).

2
  • Hi Anton, Thanks for your reply. Yes 2nd option might be the right. MS Word content is created using some custom fonts (Times new roman navajo) which are not available on sitecore. As per your answer if i include in CSS file will it work for single line text also? – Narender Reddy K Jan 5 at 18:51
  • @NarenderReddyK The single-line text field has no ability to use custom fonts. – Anton Jan 6 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.