-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question mark issue #117
Comments
I'm still having this same issue using Nova version 1.0.8. (macOS 10.13.6 / Chrome) |
Also, this is specific to the Trix editor. |
It also happens when using other WYSIWG editors, especially where they are operating in 'inline' mode. |
Still having this issue. – Nova 1.0.14 Safari&Chrome on MAC. I see this is an intended function (if you're not editing stuff, e.g. just try to type |
Happens when typing 'e' as well into a textfield. |
This has been fixed and will be included in an upcoming release. |
The problem is still present with other WYSIWG editors in Nova 1.1.3 |
What other editors? This is fixed with both the Trix and Markdown fields. |
https://github.com/chmln/vue-wysiwyg |
These editors need to stop propagation of those events up to the global handler. This is not a bug in Nova. |
I totally get that the vue component needs to stop propation of those events, @davidhemphill do you mind elaborating a little bit more? Like in the case of the Trix editor, is there something straight forward that we can put into our components to prevent this? Any help would be appreciated. Thanks! |
Sure. If you check out the source to <template>
<trix-editor
ref="theEditor"
@keydown.stop
@trix-change="handleChange"
@trix-initialize="initialize"
@trix-attachment-add="handleAddFile"
@trix-attachment-remove="handleRemoveFile"
@trix-file-accept="handleFileAccept"
:value="value"
:placeholder="placeholder"
class="trix-content"
/>
</template> In there we're listening for the Does that make sense? |
This totally makes sense.. Thank you! Now it's time to hook it up :D Thanks again |
For Tiptap, you must modify the editor config (since it does not emit prosemirror events as vue events) as follows:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When I try to type a ? (Windows 10 / Chrome), it always jumps to the global search bar - is there a way to disable this, either globally or (preferably) when filling in a field
The text was updated successfully, but these errors were encountered: