{"repo":"appleple/smartblock","free":true,"listed":false,"github":"https://github.com/appleple/smartblock","clone":"git clone https://github.com/appleple/smartblock.git","description":"intuitive block based wysiwyg editor built with React and ProseMirror","language":"TypeScript","stars":318,"topics":["react","smartphone","typescript","ui","editor","prosemirror","ui-components","javascript","npm"],"license":"MIT","category":"ui-components","readme_excerpt":"SmartBlock SmartBlock.js is a JavaScript block based editor which enables you to write contents easily on websites even with SmartPhone . IE11 / Edge Firefox Chrome Safari iOS Safari --------- --------- --------- --------- --------- ScreenShot Features Easy to use with SmartPhone Fully customizable Block based Keep clean HTML and wipe out unnecessary tags Get the result as HTML or JSON copy and paste contents Install Usage Try it on CodeSandbox Customize You can add custom block like this You can add custom inline element like this Options Props description type default ------------ ----------------------------------------------------------------------------------------------------------- ------------------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- extensions Array of extensions which extend the feature of SmartBlock Extension[] array of extensions onChange Callback function which is called when the content of the editor is changed. You can get both html and json Function onInit Callback function which is called when the editor is initialized Function json The editor contents will be initialized with the json data Object {} HTML The editor contents will be initial","default_branch":null,"files":null,"tree":[],"storefront":"/r/appleple","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/appleple/smartblock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}