gpt4 book ai didi

android - 如何使用 tinymce 去除 Android 中的灰色覆盖

转载 作者:行者123 更新时间:2023-11-29 00:51:56 25 4
gpt4 key购买 nike

我将 tinymce 用于 textarea。我的代码看起来像这样

<textarea id="tinymce" class="tinymce form-control custom-control" name="message" placeholder="BERICHT"></textarea>
tinyMCE.init({
selector : ".tinymce",
plugins: "emoticons maxchars placeholder link",

menubar: false,
toolbar: 'undo redo | bold italic underline | fontsizeselect | link | emoticons',

selector : "textarea",
height: 300,
force_br_newlines : true,
force_p_newlines : false,
forced_root_block : '',
mobile: {
theme: 'mobile',
plugins: 'emoticons maxchars placeholder link',
toolbar: 'undo redo | bold italic underline | fontsizeselect | link | emoticons'
}
});

在移动设备上,我看到文本区域上有一个灰色覆盖层,如下图所示: enter image description here

我怎样才能去掉这个灰色的覆盖层,让它看起来像这样: enter image description here

最佳答案

根据这个:Is it possible to disable the mobile UI features in tinyMCE 5您应该为移动设备使用不同的主题(银色):

mobile: {
theme: 'silver'
}

关于android - 如何使用 tinymce 去除 Android 中的灰色覆盖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58674928/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com