* Fix a bug in page type determination during online editing.