- Home
- Forum
- JavaScript - EJ 2
- DocumentEditorContainer fonts dropdown shows 'No records found'
DocumentEditorContainer fonts dropdown shows 'No records found'
Hello dear people,

I updated the JavaScript SF components of my project to the latest version (18.2.0.44), and I found a couple of issues.
The more relevant is the missing fonts in the dropdown control of the DocumentEditorContainer. I checked that this also happens in the online documentation of the control at https://ej2.syncfusion.com/documentation/document-editor/getting-started/,as shown below:
How can I add the original + some custom fonts to that dropdown? I'm using the DocumentEditorContainer, not the DocumentEditor component.
The other thing I'd like to know is how can I help you with some spanish translations. I've downloaded the json.es file from your github repo, and I've found a lot of "literal" translations (as if they were made with a translation tool) that are not correct, for instance, "Table" in the document editor toolbar is translated as "mesa" which is a forniture, and not as "tabla" which is a table for showing data. There are many others, but this is not the place to put them.
Also, "Track changes" and "Form fields" are not in the resources file (es.json), but I managed to add them manually.
Thank you in advance
Regards,
Alex
SIGN IN To post a reply.
4 Replies
1 reply marked as answer
HC
Harini Chellappa
Syncfusion Team
July 13, 2020 12:54 PM UTC
Hi Alejandro,
Syncfusion Greetings!
Reg. No Records found issue.
We have considered the reported scenario as bug and logged defect report. Fix will be included in our upcoming EJ2 patch release which is tentatively scheduled on July 15th, 2020. Once included, will update you. You can also track the bug status from below link.
Reg. adding custom fonts
You can add custom font families under document editor settings.
Sample code snippet
|
this.container.documentEditorSettings.fontFamilies = ['Algerian', 'Arial', 'Calibri', 'Cambria', 'Windings']; |
Reference sample link: https://stackblitz.com/edit/reuy8m?file=index.ts
Since, we have issue in font family’s dropdown, above code snippet will not work. It will be fixed in our upcoming EJ2 patch release as mentioned above.
Reg. localization
You can change the key value for the keys accordingly based on your language.
Regards,
Harini C
HC
Harini Chellappa
Syncfusion Team
July 15, 2020 05:41 PM UTC
Hi Alejandro,
We are glad to announce that our EJ2 patch release v18.2.45 has been rolled out successfully and included the fix for the reported issue in this release.
Kindly upgrade your NPM packages to latest version to resolve the reported issue.
Release Notes
Regards,
Harini C
Marked as answer
AL
Alejandro
July 15, 2020 06:47 PM UTC
Hello Harini,
I updated the packages yesterday, and they indeed fixed the fonts dropdown issue.
Thank you very much!
Regards,
Alex
AE
Ajithamarlin Edward
Syncfusion Team
July 16, 2020 03:39 PM UTC
Hi Alejandro,
Thanks for your update.
Regards,
Ajithamarlin E
SIGN IN To post a reply.
- 4 Replies
- 3 Participants
- Marked answer
-
AL Alejandro
- Jul 12, 2020 12:03 PM UTC
- Jul 16, 2020 03:39 PM UTC