升级前注意备份,WordPress5.0版本前发布Gutenberg(古登堡)编辑器

    最近艾薇资讯登陆自己博客后台有看到WordPress再次提示有新版本需要升级更新,期待的WordPress5.0没有来到,艾薇资讯根据惯例每次有新版本之后肯定是需要更新的,这里需要考虑到安全因素和功能的与时俱进。虽然这次WordPress官方没有提到是安全更新和必要更新,但是为了系统的及时性是需要更新的,这次修复几十个BUG信息。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    这次WordPress最主要的是像用户推送Gutenberg(古登堡)编辑器功能,但是也不是必须使用的我们可以依旧使用老版本的编辑器。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    早在 WordCamp Europe 2017 会议上让人眼睛一亮的是一个全新的编辑器 Gutenberg(古登堡) ,或许将在 WordPress 5.0 版本集成到核心代码中。Gutenberg(古登堡) 编辑器和目前默认的 TinyMCE 编辑器最大的区别就是,Gutenberg(古登堡)将采用模块化(Common Blocks)的方式插入内容。比如你要插入一个列表、表格等等,可以直接点击添加,然后快速编辑。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    WordPress官方发布了新的编辑器Gutenberg(古登堡),现在已经内置到WordPress核心代码里,以前是插件形式发布的,名称叫:Gutenberg(古登堡)。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    Gutenberg(古登堡),中文音译:古登堡。约翰·古登堡(Johannes Gensfleisch zur Laden zum Gutenberg(古登堡),1398年—1468年2月3日),又译作“古登堡”以及“古登贝格”,德国发明家,约1400年出生于德国美因茨,1468年2月3日逝世于美因茨,是西方活字印刷术的发明人,他古登堡的发明导致了一次媒体革命,迅速地推动了西方科学和社会的发展。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    WordPress Gutenberg(古登堡)编辑器插件经过一年多的开发,现在从之前发布在WordPress官方插件目录,已经升级了0.2.0版本,当前插件安装之后,会以独立目录的形式出现在WordPress仪表盘的左侧边栏:现在已经内置到wordpress核心代码中,所以更新要小心的,最好做好备份。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    WordPress新的编辑器被命名为Gutenberg(古登堡) ,显然被寄予了极大的期望。作为模块编辑器,Gutenberg(古登堡)的开发目标是,让用户添加和编辑富文本内容更加简单和愉悦。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    使用新的编辑器添加内容,基本上不需要用户掌握任何HTML知识,不需要输入短代码,不需要为嵌入其他网页的embed元素而发愁。所有的网页内容都被模块化,你只需要根据提示加入你想要的block就可以了。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    通过Blocks选项卡,用户可以快速添加Text(文本),Image(图片),Gallery(相册),Heading(标题),Qutoe(引用),List(列表),Cover Image(封面图案,与前面图片不一样的地方在于,可以在图案上面添加文字)等。文章源自技术奇点-https://www.xerer.com/archives/26662.html

    升级前注意备份,WordPress5.0版本前发布Gutenberg(古登堡)编辑器文章源自技术奇点-https://www.xerer.com/archives/26662.html

    A new, modern publishing experience is coming soon.
    Take your words, media, and layout in new directions with Gutenberg, the WordPress editor we're currently building.文章源自技术奇点-https://www.xerer.com/archives/26662.html

    Screenshot from the Gutenberg interface
    Test the new editor today.
    You can take Gutenberg for a spin (and share your feedback, if you’d like) before we officially release it, by installing it as a plugin. You can help by testing, filing bugs, or contributing on the GitHub repository.文章源自技术奇点-https://www.xerer.com/archives/26662.html

    Learn more about Gutenberg文章源自技术奇点-https://www.xerer.com/archives/26662.html

    Not quite ready?
    The new editor will be enabled by default in the next major release of WordPress. If you’re not sure how compatible your current themes and plugins are, we’ve got you covered. Install the Classic Editor plugin to keep using the current editor until you’re ready to make the switch.文章源自技术奇点-https://www.xerer.com/archives/26662.html

    Install Gutenberg Install the Classic Editor文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    通过Embeds选项卡,用户可以快速添加来自其他等支持embeds标准的网站(比如Youtube,Flickr)的内容。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    但是Gutenberg(古登堡)编辑器目前尚存在一些不足。根据Gutenberg(古登堡)团队的消息,这款编辑器目前还存在着诸多问题,包括不够灵活,支持的参数还比较少,使用起来不够流畅等。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    从WordPress 3.8版本开始,WordPress每次重要更新,都会提前作为插件来单独发布,供用户进行测试和反馈;这也就是常说的功能即插件开发模式。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    同样,你现在可以直接下载安装Gutenberg(古登堡)编辑器,直接在你的WordPress管理后台激活后,后台左侧导航栏最下方将会出现Gutenberg(古登堡)导航按钮,点击即可进入新版编辑器。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    在这里需要提醒的是,安装升级Gutenberg(古登堡),需要你安装的WordPress版本高于WordPress 4.8 。同时,必须要注意的是,这是一款开发中的插件,请勿直接将其应用于生产环境中。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    WordCamp Europe 2017 会议上让人眼睛一亮的是一个全新的编辑器 Gutenberg(古登堡) ,或许将在 WordPress 5.0 集成到核心代码中。和目前默认的 TinyMCE 最大的区别就是,它将采用模块化(Common Blocks)的方式插入内容。比如你要插入一个列表、表格等等,可以直接点击添加,然后快速编辑,如下图所示:文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    目前 Gutenberg(古登堡) 编辑器已经开发了一年多了,已经可以直接升级Gutenberg(古登堡)进行测试预览:https://wordpress.org/Gutenberg(古登堡)/,目前仍在紧张开发中,如果你想加入到开发中,可以关注 https://github.com/WordPress/Gutenberg(古登堡) 参与。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    一起期待Gutenberg(古登堡)这个神奇家伙的到来吧!文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    点击 New Post,就到了文章的发布页面,和当前WordPress的编辑器页面有很大的不同,完全扁平化的UI设计,功能完全模块化布局构建,详细可以看图:文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    除了标题之外,,每个段落都是一个模块化的,想要换行,直接点击新增一个模块并且写内容进去即可,功能增强最多的是 insert 的功能,通过这里可以对文章进行任何形式的编辑,最右侧边栏是传统的标签,分类,特色图片等,点击 pubish就发布了,在WordPress前台就可以看到了,发布出来的内容和从写文章里的一摸一样。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    Gutenberg(古登堡)虽然功能更新迅速,但按照WordPress官方的计划,这款插件真正要集成的WordPress程序中,大概是在WordPress 5.0 发布的时候。应该还需要不少时间来测试,毕竟这个将是WordPress未来的核心功能。文章源自技术奇点-https://www.xerer.com/archives/26662.html

     文章源自技术奇点-https://www.xerer.com/archives/26662.html

    https://wordpress.org/Gutenberg(古登堡)/文章源自技术奇点-https://www.xerer.com/archives/26662.html

    文章源自技术奇点-https://www.xerer.com/archives/26662.html

    weinxin
    微信公众号
    扫码关注公众号获取资源下载及吃瓜爆料
    • 本文由 发表于 2018/08/0323:23:37

    发表评论

    匿名网友