如何在ckeditor中输入印地语
我正在我的网站上使用ckeditor。我想知道如何在ckeditor中输入印地语。我正在使用kruti dev010。 在config.js文件中,我包括:如何在ckeditor中输入印地语,ckeditor,Ckeditor,我正在我的网站上使用ckeditor。我想知道如何在ckeditor中输入印地语。我正在使用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');
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;
}
我无法输入印地语,如果我粘贴word中的内容,它会显示一些特殊字符下载印地语字体Kruti010字体 将此添加到
CkEditor
的Config.js
:
config.font_names = 'Hindi/Kruti'; + config.font_names;
在Ckeditor的langs文件夹中添加印地语字体:
ckeditor/lang/Kruti/k010.ttf
在ckeditor的content.css中添加css
@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;
}
正确检查路径。下载印地语字体Kruti010字体 将此添加到
CkEditor
的Config.js
:
config.font_names = 'Hindi/Kruti'; + config.font_names;
在Ckeditor的langs文件夹中添加印地语字体:
ckeditor/lang/Kruti/k010.ttf
在ckeditor的content.css中添加css
@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;
}
正确检查您的路径。我还需要解决方案…为此,我还需要解决方案…为此