alaska-field-html

0.13.2 • Public • Published

alaska-field-html

Alaska html WYSIWYG editor field

//alaska config
 
export default {
 
  'alaska-field-html': {
    /**
     * WYSIWYG editor upload image
     * @type {object|null} 
     */
    upload: {
      service: 'alaska-user',
      model: 'User',
      path: 'avatar',
      //messages will be shown if one leave the page while file is being uploaded;
      leaveConfirm: 'Uploading is in progress, are you sure to leave this page?'
    },
    //Default image placeholder. Used when inserting pictures in Simditor.
    defaultImage: 'images/image.png'
  }
 
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i alaska-field-html

    Weekly Downloads

    1

    Version

    0.13.2

    License

    MIT

    Unpacked Size

    6.18 kB

    Total Files

    6

    Last publish

    Collaborators

    • liangxingchen