Add tinymce to custom widget plugin

Hello.

I have created a widget plugin where I can edit a 4 different textareas in one go.

If I use plain textareas it works fine.

When I try to add tinymce I will get the tinymce look. But I cannot edit the text and all the tinymce buttons are inactive.

Here is the PHP code I use:
<?php
$settings = array
(
'textarea_name' => 'content',
);
wp_editor($content, 'textarea_id', $settings);
?>