[ 
https://issues.apache.org/jira/browse/JSPWIKI-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18138213#comment-18138213
 ] 

ASF subversion and git services commented on JSPWIKI-1191:
----------------------------------------------------------

Commit 3a5fd91358fd4260a9453c003665ba9554976126 in jspwiki's branch 
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=3a5fd9135 ]

JSPWIKI-1191 Do not lose the end of a long line when the parser looks ahead at 
it

The parser reads the rest of a line to decide how to open a paragraph or a
heading, and gives it back to the stream. The line was read in full but only
the first 10239 characters could be given back, so the remainder was dropped.
A page saved by the WYSIWYG editor starts with a line break, and an image
pasted into it is a single very long line, so the second time such a page was
edited and saved the images were cut off. Read at most what fits in the
pushback buffer instead.


> Wysiwyg editor, pasting in an image produces a data url, but renders an error
> -----------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1191
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1191
>             Project: JSPWiki
>          Issue Type: Bug
>            Reporter: Alex O'Ree
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2024-03-31-12-37-49-281.png
>
>
>  I'm in search of an easy way for users to put images into wiki content 
> besides the attachments upload option, then manually linking them. So i tried 
> to just paste in some content to the wysiwyg editor. which worked in the 
> editor, however after viewing the page, i got this. note: this happens with 
> markdown syntax or with the default syntax
>  
> No InterWiki reference defined in properties for Wiki called "data"!
> !image-2024-03-31-12-37-49-281.png!



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to