Add "HTML to Text" operation

This commit is contained in:
toby 2017-06-05 21:47:32 -04:00
parent 5944568565
commit 247e9bfbde
2 changed files with 18 additions and 0 deletions

View File

@ -3509,6 +3509,14 @@ const OperationConfig = {
value: Charts.COLOURS.max,
},
]
},
"HTML to Text": {
description: [].join("\n"),
run: HTML.runHTMLToText,
inputType: "html",
outputType: "string",
args: [
]
}
};

View File

@ -851,6 +851,16 @@ const HTML = {
"diams" : 9830,
},
/**
* HTML to text operation
*
* @param {string} input
* @param {Object[]} args
* @returns {string}
*/
runHTMLToText(input, args) {
return input;
},
};
export default HTML;