materialNote icon indicating copy to clipboard operation
materialNote copied to clipboard

$('#editor1').materialnote('code');

Open estevo-de opened this issue 8 years ago • 4 comments

Hi Itried getting the contents as shown on summercode website however it does not work.

The 'isEmpty' function works. Thank you.

estevo-de avatar Feb 25 '16 17:02 estevo-de

And I'd like to add that if you call $('#editor1').materialnote().code(); you do get the expected result but then the style, font, etc. drop downs immediately slide back up when you click them. I think that has to do with the .code() function conflicting with jQuery's .code() function.

sdickson avatar Mar 01 '16 22:03 sdickson

Calling $('#editor1').materialnote().code() is not the correct usage of the materialNote API. You must call $('#editor1').code() to get the desired effect and not get the undesired side-effects of dropdowns going back up immediately.

ankur-rc avatar May 28 '16 18:05 ankur-rc

Hi all thanks for the inputs thus far. I've abandoned the idea of using summer note (material note) cheers

estevo-de avatar May 31 '16 12:05 estevo-de

hey thanks for this thread, been looking for it and it took me a painfully long time to get this to work. but thanks . works awesome :-)

BransonGitomeh avatar Jun 11 '16 17:06 BransonGitomeh