def open(self, focus=False, *args):
super(TextEditorPopup, self).open(*args)
self.content.ids.inputw.text = self.text
self.content.ids.inputw.cursor = (0, 0)
if focus:
Clock.schedule_once(self.focus_textinput, 0)
文章目录