Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some options are working some are not. #39

Closed
Nigro69 opened this issue Jan 9, 2024 · 2 comments
Closed

Some options are working some are not. #39

Nigro69 opened this issue Jan 9, 2024 · 2 comments

Comments

@Nigro69
Copy link

Nigro69 commented Jan 9, 2024

Options like undo/redo/bold/italic/underline/strike through/ they are working fine but after that all the options either misbehave or doesn't work.

Wheel.-.Google.Chrome.2024-01-10.01-55-12.mp4
import { useState } from 'react';
import Editor from 'react-simple-wysiwyg';

function App() {
  const [html, setHtml] = useState('my <b>HTML</b>');
  
  function onChange(e) {
    setHtml(e.target.value);
  }

  return (
    <Editor value={html} onChange={onChange} />
  );
}

I just want simple editor and yours is perfect but this issue is frustrating.

Please look into the issue.
Thanks in advance

@megahertz
Copy link
Owner

megahertz commented Jan 10, 2024

Most probably that's the same as #31

@Nigro69 Nigro69 closed this as completed Jan 11, 2024
@Nigro69
Copy link
Author

Nigro69 commented Jan 11, 2024

Okay got it.
Thanks for your time,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants