applyTransform(e, transform) {
        try {
            transform(e);
        } catch (err) {
            throw Error(err);
        }
    }
/**
     * Apply one TransformFunc to slate.
     *
     * applyTransform(e: TestEditor, transform: TransformFunc): void
     */
Apply one TransformFunc to slate.
Apply one TransformFunc to slate .
applyTransform(e, transform) {
        try {
            transform(e);
        } catch (err) {
            throw Error(err);
        }
    }
applyTransform ( e , transform ) { try { transform ( e ) ; } catch ( err ) { throw Error ( err ) ; } }
Apply one TransformFunc to slate.
Apply one TransformFunc to slate .