editor sidebar and initialize editor page