mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
feat!: delete angle, colour, and multiline input fields and blocks (#7932)
* chore: delete mocha tests for angle field * feat! : delete angle field * chore(tests): delete colour tests from generator tests and golden files * chore: delete colour blocks and associated generators * chore: remove colour blocks from playgrounds * chore: delete mocha tests for colour fields * chore: fix incorrect comment * chore: delete colour field from core * chore: delete multiline input tests from generators tests and golden files * chore: delete multiline text block and associated generators * chore: remove multiline text block from playgrounds * chore: delete mocha tests for multiline input field * chore: delete multiline input field from core
This commit is contained in:
@@ -66,16 +66,6 @@ export function text(
|
||||
return [code, Order.ATOMIC];
|
||||
}
|
||||
|
||||
export function text_multiline(
|
||||
block: Block,
|
||||
generator: JavascriptGenerator,
|
||||
): [string, Order] {
|
||||
// Text value.
|
||||
const code = generator.multiline_quote_(block.getFieldValue('TEXT'));
|
||||
const order = code.indexOf('+') !== -1 ? Order.ADDITION : Order.ATOMIC;
|
||||
return [code, order];
|
||||
}
|
||||
|
||||
export function text_join(
|
||||
block: Block,
|
||||
generator: JavascriptGenerator,
|
||||
|
||||
Reference in New Issue
Block a user