Ticket #9082 (closed Bug: invalid)
unable to customize row of ckeditor textarea
| Reported by: | bhargav | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.6.3 |
| Keywords: | Cc: |
Description (last modified by j.swiderski) (diff)
<textarea rows="${numberofline}" cols="${width}" name="itemValue_${columnID}_${columnTypeID}" id="itemValue_${columnID}_${columnTypeID}" cssStyle="height:100%;"><c:out value="${itemValue}"/></textarea>
<script type="text/javascript">
var editor = CKEDITOR.replace("itemValue_${columnID}_${columnTypeID}");
</script>
i want change no. of row which pass in variable "numberofline" of textarea. This above code does not working.
Change History
comment:2 Changed 12 months ago by j.swiderski
- Status changed from new to closed
- Resolution set to invalid
Editor has its own configuration for that - it does not take these values into account.
Please see:
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.width
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.height
There may be other values mentioned in (you might want to get familiar with it) http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html that you may need E.g.
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.resize_minWidth http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.resize_minHeight http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.resize_maxWidth http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.resize_maxHeight
