Kanka Summernote Code View to the Top

Sets the cursor position to the start of the input field rather than the end when switching to Code View in Kanka

ئاپتورى
Salvatos
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
4
باھا نومۇرى
0 0 0
نەشرى
2
قۇرۇلغان ۋاقتى
2021-08-12
يېڭىلانغان ۋاقتى
2023-11-12
ئىجازەتنامىسى
يوق
قوللايدىغىنى

A simple script for Kanka that sets the cursor position to the start of the input field rather than the end when switching to Code View in the Summernote editor, which is more consistent with what happens when you switch back to the visual editor.


If my scripts are making your life easier, feel free to tip me via Ko-fi (no account needed):

Support me on Ko-fi.com