fehmal-math-type-editor
v1.0.0
Published
Reusable React MathType editor using CKEditor and MathLive.
Maintainers
Readme
Fehmal Math Type Editor
Reusable React MathType editor built with CKEditor and MathLive.
Install locally for testing
npm install ../fehmal-math-type-editor-packageUse
import MathEditor from "fehmal-math-type-editor";
import "fehmal-math-type-editor/style.css";
function App() {
const [value, setValue] = useState("");
return (
<MathEditor
value={value}
onChange={setValue}
placeholder="Enter your question here..."
/>
);
}Build
npm install
npm run buildPublish
Change the package name in package.json if the name already exists on npm.
npm login
npm publish --access public