创高项目初始化
This commit is contained in:
12
client/node_modules/quill/modules/normalizeExternalHTML/index.js
generated
vendored
Normal file
12
client/node_modules/quill/modules/normalizeExternalHTML/index.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import googleDocs from './normalizers/googleDocs.js';
|
||||
import msWord from './normalizers/msWord.js';
|
||||
const NORMALIZERS = [msWord, googleDocs];
|
||||
const normalizeExternalHTML = doc => {
|
||||
if (doc.documentElement) {
|
||||
NORMALIZERS.forEach(normalize => {
|
||||
normalize(doc);
|
||||
});
|
||||
}
|
||||
};
|
||||
export default normalizeExternalHTML;
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user