tui.editor
tui.editor copied to clipboard
Any plan to support double brackets? #Roam
Version
2.1.0
Development Environment
Opera; Firefox. OS: Windows 10.
Current Behavior
There is no similar behaviors. Recently many people are talking about Roam Research, who improved Wiki Link: [[]] and brought features to outline editor. So will you make some original support for these keywords [[]], (()), {{}}?
Expected Behavior
When user types [[ or {{ or ((, there should be a suggestion list. Maybe these 3 keys can be written to 3 plugins with options of API Uri and callback? And developers can implement their own callbacks like Auto Suggestion.
Try
- How to subscribe KeyUp/KeyPress event to the Editor? There is no silimar events in the options according to the list: https://nhn.github.io/tui.editor/latest/ToastUIEditor
- In order to implement the auto suggestion, maybe I should use LayerPopup? But I saw the popups are all about Toolbar item: https://github.com/nhn/tui.editor/tree/master/apps/editor/src/js/ui So can I create a popup (List) in the content area using LayerPopup while the user is typing [[ ?