Add hindi font in CK editor

梦想与她 提交于 2019-12-05 15:34:54
  1. Download hindi font Kruti010 fonts.here

    Add this in Config.js of CkEditor ......

    config.font_names = 'Hindi/Kruti;' + config.font_names;
    

    add hindi fonts in ck editor's langs folder.

    ckeditor/lang/Kruti/k010.ttf
    

    add css in content.css of ckeditor.

    @font-face {
        font-family: 'Kruti';
        src: url('lang/Kruti/k010.eot');
        src: local("Hindi"), url("lang/Kruti/k010.ttf") format("truetype");
        font-weight: normal;
        font-style: normal;
        }
    

    check your path properly.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!