mirror of
https://github.com/directus/directus.git
synced 2026-01-15 01:18:03 -05:00
* added soft_length to lang * added softLength option to input interface * softLength => textarea, md, wysiwyg * really broken but counting characters * return 0 not null oops * characters remaining displaying * percentageRemaining => shared * placeholders => string * markdown inputs need to change preview css * account for multiple md inputs * works for multiple inputs on a page * let it breathe * text area but no warning color (yet) * newline is 1 char * null => undefined * shows with 0 hard limit left * softlength tied to maxlength * preview displaying md * using share util * Replace shared "interface" with util * Add test setup * Lock package versions Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
6 lines
133 B
JavaScript
6 lines
133 B
JavaScript
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
};
|