UNPKG

@appricot/strapi-plugin-tinymce

Version:

Replaces the default Strapi WYSIWYG editor with a customized build of TinyMCE editor.

15 lines (13 loc) 381 B
import { axiosInstance } from "../utils"; const taskRequests = { getSettings: async () => { const data = await axiosInstance.get(`/tinymce/settings`); return data; }, setSettings: async (data) => { return await axiosInstance.post(`/tinymce/settings`, { apiKey: data, }); }, }; export default taskRequests;