summernote icon indicating copy to clipboard operation
summernote copied to clipboard

airMode not working in any browser

Open prattvaidya opened this issue 12 years ago • 6 comments

HI,

this is my markup and js , please help as in how to make it work

js:

$(document).ready(function() { $('#summernote').summernote({ height:500, airMode:true

});

});

Right Now , what is happening is, as soon as we use airMode setting in js , the textarea shrinks and all the icons/buttons of summernote disappear

summernote

The cdn's we used: cdc

Markup: markup

prattvaidya avatar Jun 22 '14 05:06 prattvaidya

Hello,

I have the same "problem" here. I think the air mode is only working with a div element.

Don't know though if it is a bug or a feature :-)

Hope this helps

mpepito13 avatar Jul 21 '14 10:07 mpepito13

Just use the div element. There is no real additional benefit of using textarea instead of a div, because summernote creates its own container and related elements to handle all the editing stuff anyway.

totszwai avatar Aug 12 '14 14:08 totszwai

This is an issue for me too now. I can't use a div, because I need to submit it with the other form inputs. divs don't get submitted.

dessalines avatar Apr 08 '15 17:04 dessalines

I'm facing the same issue as @tchoulihan hoping this would get solved soon.

farajfarook avatar May 04 '15 06:05 farajfarook

Same here. I cannot use div.

slickorange avatar Aug 31 '15 12:08 slickorange

Thanks for reporting. You can use airmode with textarea after v0.7.

hackerwins avatar Oct 01 '15 15:10 hackerwins