# Get Text from jsoneditor - ace (ajax)

**URL:** <https://forum.robotframework.org/t/get-text-from-jsoneditor-ace-ajax/833>\
**Category:** Robot Framework\
**Created:** [15 October 2020 12:56 UTC](https://forum.robotframework.org/t/get-text-from-jsoneditor-ace-ajax/833 "2020-10-15T12:56:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pawelgolder](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/pawelgolder/32/441_2.png) [@pawelgolder](https://forum.robotframework.org/u/pawelgolder)\
**Post date:** [15 October 2020 12:56 UTC](https://forum.robotframework.org/t/get-text-from-jsoneditor-ace-ajax/833/1 "2020-10-15T12:56:52Z")

</div>

Hi All!

On the web page I need to select text from its json editor ( like [ace.c9.io](http://ace.c9.io) ).

Keyword - Get Text - retrieves only the visible part of the json placed in that editor.  
I’ve tried get it also this way:  
Press Keys {ace\_content} CTRL+a {x} Execute Javascript return window.getSelection().toString();  
But I got nothing.

Does anyone run into such a problem where was not able to get text from any web page editor?  
I’m JavaScript beginner so maybe someone has an idea how the JS “script” should look like?  
Maybe there is another solution?

Any advice is appreciated 😉  
Regards,  
P.
