0
I cannot make the ckeditor behave like an input field or textarea with required
<textarea data-toggle="tooltip" maxlenfth="200" data-maxlen="200" class="form-control" rows="2" id="cumprimentos" name="cumprimentos" required>
</textarea>
<script type="text/javascript">
CKEDITOR.replace('cumprimentos', {
toolbar: [],
height: 110,
contentsCss: 'body {overflow:hidden; font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size: 13px;color:#333;}',
enterMode: Number(2),
extraPlugins: 'forms',
extraPlugins: 'html5validation',
extraPlugins: 'wordcount',
wordcount: {
showWordCount: false,
showParagraphs: false,
showCharCount: true,
maxCharCount: 200,
}
});
</script>
Which version are you using?
– Sam
Ckeditor 4.12.1
– Diego Filipe Pedro Santos