开发者

Ckeditor - i need to add a <br> tag after an image is inserted into the page - help

开发者 https://www.devze.com 2023-02-26 18:29 出处:网络
I\'m simply trying to add a break tag after any image that is inserted into a ckeditor wysiwyg box and having no luck.I 开发者_高级运维know this is not ideal, but this is what has to be done.I\'ve sea

I'm simply trying to add a break tag after any image that is inserted into a ckeditor wysiwyg box and having no luck. I 开发者_高级运维know this is not ideal, but this is what has to be done. I've searched and played around but can't seem to get anything to work. Anyone have any ideas?

The problem that's occurring for one of my users is that sometimes when they add an image they can't get the cursor to appear after the image so they are unable to add any kind of text or anything after.

Any other ideas on how to solve this issue would be greatly appreciated!


To insert a <br /> tag instead of a new <p>, hold Shift while pressing Enter. I would also recommend to your users to float their images, as the text will wrap around floated images.


Looks like this is a reported bug with ckeditor. Hopefully they fix it soon.

0

精彩评论

暂无评论...
验证码 换一张
取 消