mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
refactor!: Improve ability to use CSS to style Blockly. (#8647)
* refactor!: Rename blocklyTreeIconClosed to blocklyToolboxCategoryIconClosed. * refactor!: Rename blocklyTreeLabel to blocklyToolboxCategoryLabel * refactor!: Rename blocklyToolboxDiv to blocklyToolbox. * refactor: remove unreferenced CSS classes. * refactor!: Remove the blocklyArrowTop and blocklyArrowBottom classes. * feat: Add a blocklyTextInputField class to text fields.
This commit is contained in:
@@ -47,7 +47,7 @@ suite('Toolbox', function () {
|
||||
test('Init called -> HtmlDiv is inserted before parent node', function () {
|
||||
const toolboxDiv = Blockly.common.getMainWorkspace().getInjectionDiv()
|
||||
.childNodes[0];
|
||||
assert.equal(toolboxDiv.className, 'blocklyToolboxDiv');
|
||||
assert.equal(toolboxDiv.className, 'blocklyToolbox');
|
||||
});
|
||||
test('Init called -> Toolbox is subscribed to background and foreground colour', function () {
|
||||
const themeManager = this.toolbox.workspace_.getThemeManager();
|
||||
|
||||
Reference in New Issue
Block a user