Rename textFlow to EditorTextFlow, fix n+1 issue in query