File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
tinymce-angular-component Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 66 "author" : " Ephox Corporation DBA Tiny Technologies, Inc." ,
77 "license" : " MIT" ,
88 "private" : false ,
9- "dependencies" : {
10- "@tinymce/miniature" : " ^6.0.0"
11- },
129 "peerDependencies" : {
1310 "@angular/core" : " >=16.0.0" ,
1411 "@angular/common" : " >=16.0.0" ,
Original file line number Diff line number Diff line change 1- import { TinyVer } from '@tinymce/miniature' ;
21import { getTinymce } from '../TinyMCE' ;
32import { TinyMCE } from 'tinymce' ;
43
54const isDisabledOptionSupported = ( ) => {
65 const tiny : TinyMCE = getTinymce ( ) ;
7- return ! TinyVer . isLessThan ( tiny , '7.6.0' ) ;
6+ // Disabled option is supported since Tiny 7.6.0
7+ return Number ( tiny . majorVersion ) >= 7 && Number ( tiny . minorVersion ) >= 6 ;
88} ;
99
1010export {
You can’t perform that action at this time.
0 commit comments