Skip to content

jakemercurio/AlloyEditor-edit-image-width

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlloyEditor-Edit-Button-Width

This library is an extension for AlloyEditor to allow editing image widths in a responsive way.

alt tag

Setup

  1. Import ButtonImageWidth into your AlloyEditor project
import ButtonImageWidth from '../custom-alloy-buttons/ButtonImageWidth';

or

var ButtonImageWidth = require('../custom-alloy-buttons/ButtonImageWidth');
  1. Add imageWidth to your AlloyEditor Config
AlloyEditor.editable('editorId', {
    toolbars: {
      styles: {
        selections: [{
          name: 'image',
          buttons: ['imageWidth'],
        }],
        tabIndex: 1
      }
    }
});

And you're done!

About

ButtonImageWidth for http://alloyeditor.com/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published