lexonomy_custom_editor/src/lib/preferences.py

9 lines
177 B
Python
Raw Normal View History

from browser import window
# interface to plugin properties
def get_preference(key):
return window.customizeEditor[key] if window.customizeEditor else None