Happy birthday!

Apr.22 Somainer

Apr 21, 2018

见习魔法师

Hope to do something in a brand new year. r{{ def('switchDesignMode', function switchDesignMode(el){ let mode=['false', 'true']; let content = document.getElementById(el); content.contentEditable = mode[!mode.indexOf(content.contentEditable) + 0] || 'true'; }) }} r{{ btn('edit', function switchAllContent(){ ['main-title', 'sub-title', 'content'].forEach(switchDesignMode); }) }}