如何在ckeditor中键入hindi

时间:2013-10-25 08:09:41

标签: ckeditor

我在我的网站上使用ckeditor。我想知道如何在ckeditor中键入hindi。我正在使用kruti dev010。 在config.js文件中我包括:

config.font_names = 'kruti_dev_010;' + config.font_names;

并在content.css文件中添加了:

@font-face {
    font-family:'kruti_dev_010regular';
    src: url('krutidev-webfont.eot');
    src: url('krutidev-webfont.eot?#iefix') format('embedded-opentype'),
    url('krutidev-webfont.woff') format('woff'),
    url('krutidev-webfont.ttf') format('truetype'),
    url('krutidev-webfont.svg#kruti_dev_010bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

我无法输入印地语,如果我粘贴内容,则会显示一些特殊字符

1 个答案:

答案 0 :(得分:-1)

下载hindi字体Kruti010字体here

Config.js的{​​{1}}中添加:

CkEditor

config.font_names = 'Hindi/Kruti'; + config.font_names; 的langs文件夹中添加hindi字体:

Ckeditor

在ckeditor的content.css中添加css。

ckeditor/lang/Kruti/k010.ttf

正确检查你的路径。