I found out that my issue was the fact that my php installation had magic_quotes enabled so that's what was throwing off my ckeditor.
Why does ckfinder break image tags when editing?
Вопрос
I have ckeditor and ckfinder configured properly and when I inserted a picture it works but when I added some styles its prints the styles outside the style tag
Решение
Не связан с StackOverflow