Closed Tade0 closed 9 years ago
Can't the fixExternalPaths()
work on string instead of DOM? This replacement should be plain simple.
When opening a code sample:
GET http://localhost/ckeditor-sdk/dev/ckeditor_sdk/template/theme/img/close.png 404 (Not Found)
Well, in the comment I voiced my opinion on not using abstractions when they're available. :)
To fix the problem with the close button I need to transform simplesample.js, so I think instead of trying to fix it now it would be better to either: -Wait for #151 to get merged and rebase. -Solve this problem in #151.
So let's wait until #151 is resolved.
OK, #151 is merged. You can continue with this ticket.
404 fixed.
159.
After some wrestling with the system I established, that given how many operations are done on the sample files during building it's best not to replicate this behavior in the dev environment so I settled on only modifying the paths of the CSS file and CKEditor script.
At this point the main difference between the dev and built samples is a lack of navigation in the former.