Closed liufsd closed 6 years ago
and also can not select this line text before image.
(build by last source code commit: 4106fce81395a9bf333cbc5fbb3c15767e6e3899)
This is a known issue and is related to #327.
Fixed in #525
sorry . not fixed. test: input "hello" and then, insert image you will see this issue again.
fun insertImage(drawable: Drawable?, attributes: Attributes, onImageTappedListener: OnImageTappedListener?,
onMediaDeletedListener: AztecText.OnMediaDeletedListener?) {
val nestingLevel = IAztecNestable.getNestingLevelAt(editableText, selectionStart)
val span = AztecImageSpan(editor.context, drawable, nestingLevel, AztecAttributes(attributes), onImageTappedListener,
onMediaDeletedListener, editor)
insertMedia(span)
}
The 'nestingLevel' return 0. you can also test insert a image in some text. such as: input 'hello', and then insert a image before 'e'.
Any answer about this ? i think, insert a image in the some text. we must insert a new line before image tag.
hi~ when i insert a max width image . the Cursor can not move to this line end. (can not move the cursor to the position after 'n')
how to fix this issue?