Changes between Initial Version and Version 1 of Ticket #12177, comment 3
- Timestamp:
- Oct 9, 2014, 12:31:30 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12177, comment 3
initial v1 1 I have pushed commits to the [https://github.com/cksource/ckeditor-dev/commits/t/12177 t/12177] branch and attached patch with the simple solution. Basic scenarios work fine: shift enter in the `li` element and in the `p` in `li`, at the begging, middle and the end of it. I have tested this featherin Chrome 37, Firefox 21, IE 11 and IE 8.1 I have pushed commits to the [https://github.com/cksource/ckeditor-dev/commits/t/12177 t/12177] branch and attached patch with the simple solution. Basic scenarios work fine: Shift+Enter in the `li` element and in the `p` in `li`, at the beginning, middle and the end of it. I have tested this feature in Chrome 37, Firefox 21, IE 11 and IE 8. 2 2 3 Because integration `enterkey` plugin with lists is complex (even the check if the element is list occured in 15 places, only in the `enterkey` plugin) there will be some scenarios in which patch does not behave properly, for example there is no support for nested lists. Also it will not be a part of the core, because it would need complex configuration options: create `br`, `p` or new item in the list and `br`, `p` or `div` outside lists on the shift enter. We can develop and support this feather as a [http://cksource.com/ckeditor/services#custom-development custom development].3 Because integration of the `enterkey` plugin with lists is complex (even the check if the element is list occurred in 15 places, only in the `enterkey` plugin) there will be some scenarios in which this patch does not behave properly. For example there is no support for nested lists. Also it will not be a part of the core, because it would need complex configuration options: create `br`, `p` or new item in the list and `br`, `p` or `div` outside lists on the Shift+Enter.