     ]
 
     # Function dealing with editables
-    anyEditableSelector = (_.pluck editables, 'selector').join ', '                                                     # A CSS selector matching any editable
+    anyEditableSelector = do ->                                                                                         # A CSS selector matching any editable
+        selectors = _.pluck editables, 'selector'
+        selectors = _.map selectors, (s) -> '.fr-editable ' + s
+        selectors.join ', '
     editable = (element) -> _.first _.filter editables, (e) -> f$.is '*', f$.findOrIs e.selector, element               # element: editable -> editable info
     editableEditInput = (element) -> $ (editable element).editInputSelector                                             # Input field used for editing
     editablePlaceholderOutput = (element) -> $ (editable element).placeholderOutputSelector                             # Element in which we put the placeholder

    matchState = (states, element) ->
        state = f$.data 'state', element
        ((_.isUndefined state) and (_.contains states, 'initial')) or (_.contains states, state)

    # Events
    mouseEntersGridTd = (f) -> Builder.mouseEntersGridTdEvent.subscribe ({gridTd}) -> f $ gridTd

        _.each transition.events, (event) ->
            event (event) ->
                elements = transition.elements event                                                                    # Get elements from event (e.g. editable inside cell for mouseover)
                elements = _.filter elements, (e) -> matchState transition.from, $ e                                    # Filter elements that are in the 'from' state
                if transition.conditions                                                                                # Filter elements that match all the conditions
                    elements = _.filter elements, (e) ->
                        _.all transition.conditions, (c) -> c $ e
                _.each elements, (element) ->
                    f$.data 'state', transition.to, $ element                                                           # Change state before running action, so if action trigger an event, that event runs against the new state
                    _.each transition.actions, (action) -> action $ element                                             # Run all the actions on the elements
