mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
9e4d802405
Summary: Conditional formatting can now be used for whole rows. Related fix: - Font styles weren't applicable for summary columns. - Checkbox and slider weren't using colors properly Test Plan: Existing and new tests Reviewers: paulfitz, georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3547
14 lines
454 B
TypeScript
14 lines
454 B
TypeScript
import {FieldOptions} from 'app/client/widgets/NewBaseEditor';
|
|
import {NTextEditor} from 'app/client/widgets/NTextEditor';
|
|
|
|
/**
|
|
* HyperLinkEditor - Is the same NTextEditor but with some placeholder text to help explain
|
|
* to the user how links should be formatted.
|
|
*/
|
|
export class HyperLinkEditor extends NTextEditor {
|
|
constructor(options: FieldOptions) {
|
|
super(options);
|
|
this.textInput.setAttribute('placeholder', '[link label] url');
|
|
}
|
|
}
|