This commit is contained in:
parent
faf08d6c60
commit
3856a624f8
2 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover;">
|
||||
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
|
||||
<style id="editorFontSize" type="text/css"></style>
|
||||
</head>
|
||||
<body class="fn__flex-column">
|
||||
|
|
|
@ -205,6 +205,7 @@ export const initKeyboardToolbar = () => {
|
|||
const protyle = window.siyuan.mobile.editor.protyle;
|
||||
if (slashBtnElement) {
|
||||
protyle.hint.fill(decodeURIComponent(slashBtnElement.getAttribute("data-value")), protyle);
|
||||
focusByRange(protyle.toolbar.range);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue