def get_values(self, key_list): """ Get a key-value dictionary of all keys in the given list. """ result_map = {} for key in key_list: index = self._get_index_of(key) val = get_codemirror_value(self, index) result_map[key] = val return result_map
def get_values(self, key_list): """ Get a key-value dictionary of all keys in the given list. """ result_map = {} for key in key_list: index = self._get_index_of(key) val = get_codemirror_value(self, index) result_map[key] = val return result_map
def get(self, key): index = self._get_index_of(key) return get_codemirror_value(self, index)
def get(self, key): index = self._get_index_of(key) return get_codemirror_value(self, index)
def editor_value(self): """ Returns codemirror value from raw HTMl editor """ return get_codemirror_value(self, 0)
def get_wiki_editor_content(self): """ Returns the content currently in the wiki editor. """ return get_codemirror_value(self, 0)
def get_wiki_editor_content(self): """ Returns the content currently in the wiki editor. """ return get_codemirror_value(self, 0)
def editor_value(self): """ Returns codemirror value from raw HTMl editor """ return get_codemirror_value(self, 0)