Browse Source

Add `a` to notTextable option in Canvas

pull/1730/head
Artur Arseniev 8 years ago
parent
commit
ea0adec5df
  1. 6
      src/canvas/config/config.js

6
src/canvas/config/config.js

@ -6,7 +6,7 @@ module.exports = {
* Be aware that these scripts will not be printed in the export code
* @example
* scripts: [ 'https://...1.js', 'https://...2.js' ]
*/
*/
scripts: [],
/*
@ -14,7 +14,7 @@ module.exports = {
* Be aware that these styles will not be printed in the export code
* @example
* styles: [ 'https://...1.css', 'https://...2.css' ]
*/
*/
styles: [],
/**
@ -36,5 +36,5 @@ module.exports = {
* stops some commands (eg. disables the copy/paste of components with CTRL+C/V to allow the copy/paste of the text).
* This option allows to customize, by a selector, which element should not be considered textable
*/
notTextable: ['button', 'input[type=checkbox]', 'input[type=radio]']
notTextable: ['button', 'a', 'input[type=checkbox]', 'input[type=radio]']
};

Loading…
Cancel
Save