Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArtActivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArtActivity.py')
-rw-r--r--TurtleArtActivity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
index 7d215d8..82275d7 100644
--- a/TurtleArtActivity.py
+++ b/TurtleArtActivity.py
@@ -1139,7 +1139,8 @@ in order to use the plugin.'))
text = clipboard.wait_for_text()
if text is not None:
if self.tw.selected_blk is not None and \
- self.tw.selected_blk.name == 'string':
+ self.tw.selected_blk.name == 'string' and \
+ text[0:2] != '[[': # Don't paste block data into a string
for i in text:
self.tw.process_alphanumeric_input(i, -1)
self.tw.selected_blk.resize()