PANmedia / raptor-editor

Raptor, an HTML5 WYSIWYG content editor!
www.raptor-editor.com
GNU General Public License v3.0
533 stars 136 forks source link

listBreakAtSelection #156

Closed compilando closed 10 years ago

compilando commented 10 years ago

Hello, I'm using Raptor for the first time and I got the error: Uncaught ReferenceError: listBreakAtSelection is not defined

I've search for the funciont, defined in list.js, but not included in raptor.js.

Petah commented 10 years ago

Sorry, I think that was my bad due to this commit https://github.com/PANmedia/raptor-editor/commit/780bd0aa0615313c1399b82c21ca7f7f3ebd2722

I just pushed a fix. Let me know if it works.

compilando commented 10 years ago

Hello, thanks.

Now I have a similar error, but with another method: abortLoop. (I'm, downloading the generated version at https://www.raptor-editor.com/).

Petah commented 10 years ago

Sorry about that.

I have pushed out a more fail safe approach: https://github.com/PANmedia/raptor-editor/blob/200dff06e533d192451a9f24fff0c074521f138d/src/expose.js

compilando commented 10 years ago

Ok works like a charm!

Thanks.