We don't need to install new package as the autolink package is included in the package import Link from '@ckeditor/ckeditor5-link/src/link';.
However, we do need a recent @ckeditor/ckeditor5-link version. Older version like what we have v15 does not have autolink feature, and you'll get error when npm run build:
ERROR in ./src/ckeditor.js
Module not found: Error: Can't resolve '@ckeditor/ckeditor5-link/src/autolink' in '/Users/shaungc/Documents/repos/ckeditor5-build-balloon/src'
[ ] Update @ckeditor/ckeditor5-link to recent version
[ ] Update CKEditor version so it's compatible with the newer @ckeditor/ckeditor5-link version.
Since the even newer version v18 of @ckeditor/ckeditor5-link (which is the deprecated ckeditor balloon repo latest version) doesn't work - no autolink feature, we will need #106. Only updating @ckeditor/ckeditor5-link to its latest version v31.1 will cause compatibility issue - ckeditor.js will throw "module duplicated` error.
The auto link feature - described in doc.
We don't need to install new package as the autolink package is included in the package
import Link from '@ckeditor/ckeditor5-link/src/link';
.However, we do need a recent
@ckeditor/ckeditor5-link
version. Older version like what we havev15
does not have autolink feature, and you'll get error whennpm run build
:@ckeditor/ckeditor5-link
to recent version@ckeditor/ckeditor5-link
version.Since the even newer version
v18
of@ckeditor/ckeditor5-link
(which is the deprecated ckeditor balloon repo latest version) doesn't work - no autolink feature, we will need #106. Only updating@ckeditor/ckeditor5-link
to its latest versionv31.1
will cause compatibility issue -ckeditor.js
will throw "module duplicated` error.