Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在ckeditor中输入印地语_Ckeditor - Fatal编程技术网

如何在ckeditor中输入印地语

如何在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');

我正在我的网站上使用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');
    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;
    }

正确检查您的路径。

我还需要解决方案…为此,我还需要解决方案…为此