User:Martid95/common.js

var surfaceModel = ve.init.target.getSurface.getModel; surfaceModel.getFragment.annotateContent( 'set', 'textStyle/bold' );