jodit

Add a typescript library to angular

时间秒杀一切 提交于 2021-02-11 12:41:50
问题 I installed a text editor called Jodit and I'm having some issues trying to integrate it into my angular application. In order, I did: npm install --save jodit Added in angular.json build-options-sripts "node_modules/jodit/build/jodit.min.js" Added in angular.json build-options-styles "node_modules/jodit/build/jodit.min.css" Here is my component: import * as jodit from 'jodit'; @Component({ selector: 'app-test', styleUrls: ['./test.component.scss'], template: ` <textarea id="test" name=

How to upload image with Jodit uploader and coldfusion?

馋奶兔 提交于 2020-04-14 07:18:08
问题 I'm using Jodit to create a wysiwyg editor. I have a coldfusion file (uploadimage2.cfm) that is empty. When I send the uploaded img to that empty coldfusion page I get an error that coldfusion can't find the variable "FILES". Jodit is sending the following form data to uploadimage2.cfm: ------WebKitFormBoundaryIrkl9oNQedwACmBe Content-Disposition: form-data; name="path" ------WebKitFormBoundaryIrkl9oNQedwACmBe Content-Disposition: form-data; name="source" default -----