wordpress-mobile / AztecEditor-Android

A reusable native Android rich text editor component.
Mozilla Public License 2.0
675 stars 112 forks source link

Missing-paragraph #514

Open liufsd opened 6 years ago

liufsd commented 6 years ago

Enter New line need insert a paragraph like ios editor.

liufsd commented 6 years ago

any answer?

0nko commented 6 years ago

Try calling aztecText.setCalypsoMode(false) and sourceText.setCalypsoMode(false).

liufsd commented 6 years ago

i will try it later.

liufsd commented 6 years ago

sorry not working. source code only show 'br',not 'p' tag. image

0nko commented 6 years ago

The <p> tag will not be removed from HTML anymore. But the return key behavior is working as intended. Inserting paragraphs in visual mode is currently not supported.

liufsd commented 6 years ago

sorry. but your ios editor library support it. why not support on android?

AztecEditor-iOS

screen shot 2017-11-09 at 9 28 53 am

liufsd commented 6 years ago

hi. when it will support by 'visualEditor'? or never support it ?

liufsd commented 6 years ago

CalypsoMode false. the html will show 'br', but i hope it will show 'p' tag ,like ios editor.

          aztec.visualEditor.setCalypsoMode(false)
        aztec.sourceEditor?.setCalypsoMode(false)
prasad456 commented 4 years ago

@liufsd do you have solution for p tag? I facing the same here?

liufsd commented 4 years ago

@prasad456 sorry ~ no~ .~

qiudanyao commented 3 years ago

and now? I am faced with the same problem . how can I use p tag as AztecEditor-iOS?