2021-01-06 04:29

Editor - integrating basic visual editor

This PR integrates an early version of the new hybrid editor into WPAndroid for testing only.


Things that should be working: - Creating a post/page - Editing a post/page - Saving draft, auto-save - Publishing a post/page - Basic formatting (bold, italics, strikethrough (tablet only), lists, blockquotes)

Not yet implemented: - Adding media and links - HTML editing mode - Preview (existing preview still being used) - Post settings

There are a few known bugs listed here.


  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答


  • weixin_39752087 weixin_39752087 4月前

    Added a toggle for the new editor in the settings screen:


    点赞 评论 复制链接分享
  • weixin_39843847 weixin_39843847 4月前

    I noticed a small bug.

    When you first install the app the visual editor is enabled in the account settings, however when you edit a post, the old editor remains. If I go into account settings and toggle the editor off and then on again, the pref_key_visual_editor_enabled will be set to true and everything works just fine.

    点赞 评论 复制链接分享
  • weixin_39752087 weixin_39752087 4月前
    • Dropped the isDebugBuild check
    • Fixed the issue where the old editor would be displayed until you visited the settings activity

    Ready for another look , !

    点赞 评论 复制链接分享
  • weixin_39643255 weixin_39643255 4月前


    点赞 评论 复制链接分享