in

Best Crispy Skillet Ravioli with Garlic-Butter Mushrooms Recipe

Imagine biting into golden, crispy ravioli tossed with rich, garlicky butter mushrooms and topped with a sprinkling of cheese that’s broiled to perfection. Sounds heavenly, doesn’t it? Crispy Skillet Ravioli with Garlic-Butter Mushrooms is the kind of dish that feels fancy but is incredibly easy to make. It’s a comforting, flavorful one-pan meal that’s perfect for weeknight dinners or impressing guests without spending hours in the kitchen.

This dish combines the earthy flavor of cremini mushrooms, the nuttiness of Parmesan cheese, and the irresistible crisp of pan-seared ravioli, all tied together with a fragrant garlic-butter sauce. Whether you’re a seasoned cook or just getting started, you’ll find this recipe approachable, rewarding, and absolutely delicious.

Why You’ll Love This Recipe

If you’re wondering what makes this dish so special, here are a few reasons you’ll love it:

  • Quick and Easy: Ready in about 30 minutes, it’s perfect for busy weeknights.
  • One-Pan Wonder: Minimal cleanup is required since everything is cooked in one skillet.
  • Restaurant-Quality Meal at Home: The crispy ravioli and flavorful mushrooms elevate this dish to gourmet status.
  • Versatile: Use your favorite ravioli filling or switch up the mushrooms for a new twist.
  • Perfectly Balanced Flavors: The combination of savory, tangy, and umami flavors makes every bite unforgettable.

Ingredients for Crispy Skillet Ravioli with Garlic-Butter Mushrooms

For the Mushrooms

  • 1 pound cremini mushrooms, quartered
  • 5 cloves garlic, minced
  • 1 sprig fresh rosemary, leaves stripped and coarsely chopped
  • 2 ounces Pecorino Romano or Parmesan cheese, finely grated (about 1 firmly packed cup or 2/3 cup store-bought)
  • 4 tablespoons unsalted butter, divided
  • 1/2 teaspoon kosher salt
  • 1/4 teaspoon red pepper flakes, plus more for serving
  • 1 tablespoon balsamic vinegar

For the Ravioli

  • 1 tablespoon olive oil
  • 2 (9 or 10-ounce) packages or 1 (20-ounce) package fresh or frozen cheese ravioli
  • 1/2 cup water

Step-by-Step Instructions

Follow these easy steps to create the ultimate skillet ravioli dish:

Step 1: Prep Your Ingredients

  1. Arrange a rack in the top third of your oven and preheat the broiler to high.
  2. Quarter the cremini mushrooms and mince the garlic.
  3. Strip the leaves off the rosemary sprig and coarsely chop them.
  4. Finely grate the Pecorino Romano or Parmesan cheese and set it aside.

Step 2: Sauté the Mushrooms

  1. Melt 1 tablespoon of unsalted butter in a broiler-safe large skillet over medium-high heat.
  2. Add the quartered mushrooms in a single layer and let them sear, undisturbed, for about 3 minutes until the bottoms are golden brown.
  3. Season the mushrooms with 1/2 teaspoon kosher salt and 1/4 teaspoon red pepper flakes. Stir once or twice and cook until the mushrooms are browned all over and just tender, about 3 more minutes.

Step 3: Add Garlic-Butter Sauce

  1. Reduce the heat to medium. Add the remaining 3 tablespoons of unsalted butter to the skillet along with the minced garlic and chopped rosemary.
  2. Sauté for about 2 minutes, stirring frequently, until the mixture is fragrant and saucy.
  3. Stir in 1 tablespoon of balsamic vinegar for a tangy kick.
  4. Transfer the mushroom mixture to a bowl and set it aside.

Step 4: Crisp the Ravioli

  1. Return the skillet to medium-high heat and add 1 tablespoon olive oil. Heat until shimmering.
  2. Add the fresh or frozen ravioli to the skillet, gently breaking apart any that are stuck together.
  3. Sauté the ravioli until golden brown in spots, about 2–3 minutes.

Step 5: Cook the Ravioli

  1. Carefully add 1/2 cup water to the skillet. Cover the skillet and let the ravioli cook until al dente and most of the water has been absorbed, about 3–5 minutes.
  2. Uncover the skillet and remove it from the heat.

Step 6: Combine and Broil

  1. Return the garlic-butter mushrooms and their sauce to the skillet with the ravioli.
  2. Add a handful of grated cheese and gently toss everything to combine.
  3. Sprinkle the remaining grated cheese over the top of the dish.
  4. Broil the skillet in the oven until the cheese is melted and golden brown in spots, about 2–3 minutes.

Step 7: Garnish and Serve

  1. Serve the dish hot, garnished with extra red pepper flakes for a touch of heat, if desired.
  2. Pair it with a crisp green salad or some garlic bread for a complete meal.

Nutritional Information (Per Serving)

Nutrient Amount
Calories 420 kcal
Protein 14 g
Total Fat 20 g
Saturated Fat 9 g
Carbohydrates 45 g
Fiber 3 g
Sodium 520 mg

Note: Nutritional values are estimates and may vary based on the brands and quantities used.

Tips for Making the Best Crispy Skillet Ravioli with Garlic-Butter Mushrooms

  • Use Fresh Ingredients: Fresh ravioli, high-quality mushrooms, and freshly grated cheese make a huge difference in flavor.
  • Don’t Overcrowd the Pan: Sear the mushrooms in a single layer to ensure they develop a rich, golden crust.
  • Frozen Ravioli Tips: If using frozen ravioli, there’s no need to thaw them beforehand. Adjust cooking times slightly to ensure they cook through.
  • Add Protein: For a heartier meal, toss in cooked chicken, sausage, or shrimp along with the mushrooms.
  • Serve Immediately: This dish is best enjoyed fresh out of the skillet when the cheese is melty and the ravioli is perfectly crisp.

FAQs About Crispy Skillet Ravioli with Garlic-Butter Mushrooms

1. Can I use other types of mushrooms?

Absolutely! Cremini mushrooms are a great choice, but you can also use button mushrooms, portobello mushrooms, or shiitake mushrooms for different textures and flavors.

2. What can I substitute for Pecorino Romano or Parmesan cheese?

Grana Padano or Asiago cheese are excellent substitutes. You can also use nutritional yeast for a dairy-free option.

3. Can I make this dish vegetarian?

Yes! Most cheese ravioli is vegetarian-friendly, but double-check the label to ensure it doesn’t contain meat or animal rennet.

4. What side dishes go well with this recipe?

Pair this dish with a fresh green salad, roasted vegetables, or a loaf of crusty garlic bread for a well-rounded meal.

5. Can I store leftovers?

While this dish is best enjoyed fresh, you can store leftovers in an airtight container in the refrigerator for up to 2 days. Reheat in a skillet over medium heat to revive the crispiness.

6. Can I use dried herbs instead of fresh rosemary?

Yes, you can substitute 1/2 teaspoon of dried rosemary for the fresh sprig. However, fresh herbs add a brighter flavor to the dish.

Conclusion: Try Crispy Skillet Ravioli with Garlic-Butter Mushrooms Today!

Ready to elevate your weeknight dinner game? This Crispy Skillet Ravioli with Garlic-Butter Mushrooms is a foolproof recipe that combines gourmet flavors with easy preparation. Whether you’re cooking for your family or hosting a dinner party, this dish is sure to impress.

Print

Best Crispy Skillet Ravioli with Garlic-Butter Mushrooms Recipe


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews


  • Author:
    Merry


  • Total Time:
    30 minutes


  • Yield:
    4 servings


Print Recipe


Pin Recipe

const share_pin_buttons = document.getElementsByClassName( ‘share-pin button’ );
if ( share_pin_buttons ) {
for ( let share_key = 0; share_key {
e.stopPropagation();
window.open(e.target.dataset.href,’targetWindow’,’toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500′);
return false;
} );
}
}

Description

Bring a touch of elegance to your dinner table with this Crispy Skillet Ravioli with Garlic-Butter Mushrooms! Golden, pan-seared ravioli pairs perfectly with tender cremini mushrooms bathed in a rich garlic-butter sauce, finished with a sprinkle of Parmesan cheese and broiled to perfection. This one-pan wonder is quick, satisfying, and loaded with gourmet flavors. Perfect for weeknights or special occasions, this dish is sure to impress your family and guests alike!


Ingredients

For the Mushrooms and Sauce

  • 1 pound cremini mushrooms, quartered
  • 5 cloves garlic, minced
  • 1 sprig fresh rosemary, leaves stripped and chopped
  • 4 tablespoons unsalted butter, divided
  • 1/2 teaspoon kosher salt
  • 1/4 teaspoon red pepper flakes (plus more for garnish)
  • 1 tablespoon balsamic vinegar
  • 2 ounces Pecorino Romano or Parmesan cheese, finely grated

For the Ravioli

  • 1 tablespoon olive oil
  • 2 (9 or 10-ounce) packages or 1 (20-ounce) package fresh or frozen cheese ravioli
  • 1/2 cup water


Instructions

Step 1: Prepare the Mushrooms

  1. Place a rack in the top third of your oven and preheat the broiler to high.
  2. Melt 1 tablespoon of unsalted butter in a broiler-safe large skillet over medium-high heat.
  3. Add the quartered cremini mushrooms in a single layer and let them sear, undisturbed, for about 3 minutes until the bottoms are golden.
  4. Season the mushrooms with kosher salt and red pepper flakes, stir once or twice, and cook for an additional 3 minutes until browned all over.

Step 2: Make the Garlic-Butter Sauce

  1. Reduce the heat to medium. Add the remaining 3 tablespoons of butter to the skillet along with the minced garlic and chopped rosemary.
  2. Stir and cook for about 2 minutes, until the mixture becomes fragrant and saucy.
  3. Add balsamic vinegar and stir to combine.
  4. Transfer the mushrooms and sauce to a bowl and set aside.

Step 3: Crisp the Ravioli

  1. Return the skillet to medium-high heat and add olive oil.
  2. Add the ravioli to the skillet, breaking apart any that may be stuck together.
  3. Sauté for 2 to 3 minutes, or until golden brown in spots.

Step 4: Cook the Ravioli

  1. Carefully pour 1/2 cup water into the skillet. Cover the skillet and cook for 3 to 5 minutes, or until the ravioli is al dente and most of the water has been absorbed.

Step 5: Combine and Broil

  1. Uncover the skillet and remove it from the heat. Return the mushrooms and garlic-butter sauce to the skillet and toss gently to combine.
  2. Sprinkle half of the grated Parmesan cheese over the mixture and toss again.
  3. Sprinkle the remaining Parmesan cheese evenly over the top.
  4. Broil for 2 to 3 minutes, or until the cheese is melted and golden brown.

Step 6: Garnish and Serve

    1. Serve hot, garnished with extra red pepper flakes for a hint of spice. Pair with a fresh salad or garlic bread for a complete meal.

Notes

  • Fresh vs. Frozen Ravioli: Both work beautifully in this recipe, but if using frozen ravioli, you don’t need to thaw them beforehand. Simply adjust the cooking time slightly.
  • Customize the Cheese: Pecorino Romano offers a saltier, sharper flavor, while Parmesan is milder. Choose based on your preference!
  • Add Veggies: Toss in baby spinach or sun-dried tomatoes when adding the mushrooms for extra flavor and nutrition.
  • Reheating Tip: Leftovers can be reheated in the skillet over medium heat or in the oven at 375°F for 10 minutes. Add a splash of water if the dish becomes too dry.

  • Prep Time: 10 minutes
  • Cook Time: 20 minutes
  • Category: Main Course
  • Method: Skillet, Broil
  • Cuisine: Italian-American

window.trCommon={“minRating”:6,”ajaxurl”:”https:\/\/forurenergy.com\/wp-admin\/admin-ajax.php”,”ratingNonce”:””,”postId”:1885};
window.TastyRecipes = window.TastyRecipes || {};

window.TastyRecipes.smoothScroll = {
init() {
document.addEventListener( ‘click’, ( e ) => {
let anchor = e.target;
if ( anchor.tagName !== ‘A’ ) {
anchor = anchor.closest( ‘a.tasty-recipes-scrollto’ );
}

if ( ! anchor || ! anchor.classList.contains( ‘tasty-recipes-scrollto’ ) ) {
return;
}

const elementHref = anchor.getAttribute( ‘href’ );
if ( ! elementHref ) {
return;
}

e.preventDefault();
this.goToSelector( elementHref );
});
},
goToSelector( selector ) {
const element = document.querySelector( selector );
if ( ! element ) {
return;
}
element.scrollIntoView( { behavior: ‘smooth’ } );
}
};

document.addEventListener(
‘DOMContentLoaded’,
() => window.TastyRecipes.smoothScroll.init()
);

(function(){
document.querySelectorAll(‘[data-tr-ingredient-checkbox]’).forEach(function(el) {
var input = el.querySelector(‘.tr-ingredient-checkbox-container input[type=”checkbox”]’);
if ( ! input ) {
return;
}
if (input.checked) {
el.dataset.trIngredientCheckbox = ‘checked’;
}
el.addEventListener(‘click’, function(event) {
if ( ‘A’ === event.target.nodeName
|| ‘INPUT’ === event.target.nodeName
|| ‘LABEL’ === event.target.nodeName ) {
return;
}
input.click();
});
input.addEventListener(‘change’, function() {
el.dataset.trIngredientCheckbox = input.checked ? ‘checked’ : ”;
});
});
}());

window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.cookMode = {
wakeLockApi: false,
wakeLock: false,
cookModeSelector: ‘.tasty-recipes-cook-mode’,
init() {
if (“wakeLock” in navigator && “request” in navigator.wakeLock) {
this.wakeLockApi = navigator.wakeLock;
}

const cookModes = document.querySelectorAll(this.cookModeSelector);

if (cookModes.length > 0) {
for (const cookMode of cookModes) {
if (this.wakeLockApi) {
cookMode.querySelector(‘input[type=”checkbox”]’).addEventListener(“change”, event => {
this.checkboxChange(event.target);
}, false);
} else {
cookMode.style.display = “none”;
}
}
}
},
checkboxChange(checkbox) {
if (checkbox.checked) {
this.lock();
} else {
this.unlock();
}
},
setCheckboxesState(state) {
const checkboxes = document.querySelectorAll(this.cookModeSelector + ‘ input[type=”checkbox”]’);
for (const checkbox of checkboxes) {
checkbox.checked = state;
}
},
async lock() {
try {
this.wakeLock = await this.wakeLockApi.request(“screen”);
this.wakeLock.addEventListener(“release”, () => {
this.wakeLock = false;
this.setCheckboxesState(false);
});
this.setCheckboxesState(true);
} catch (error) {
this.setCheckboxesState(false);
}
},
unlock() {
if (this.wakeLock) {
this.wakeLock.release();
this.wakeLock = false;
}
this.setCheckboxesState(false);
}
};

(function(callback) {
if (document.readyState !== “loading”) {
callback();
} else {
document.addEventListener(“DOMContentLoaded”, callback);
}
})(() => {
window.TastyRecipes.cookMode.init();
});

window.TastyRecipes = window.TastyRecipes || {};

window.TastyRecipes.staticTooltip = {
element: null,
tooltipElement: null,
deleting: false,
init( element ) {
if ( this.deleting ) {
return;
}
this.element = element;
this.buildElements();
},
destroy() {
if ( ! this.tooltipElement || this.deleting ) {
return;
}

this.deleting = true;
this.tooltipElement.classList.remove( ‘opened’ );

setTimeout( () => {
this.tooltipElement.remove();
this.deleting = false;
}, 500 );
},
buildElements() {
const tooltipElement = document.createElement( ‘div’ );
tooltipElement.classList.add( ‘tasty-recipes-static-tooltip’);
tooltipElement.setAttribute( ‘id’, ‘tasty-recipes-tooltip’ );

const currentTooltipElement = document.getElementById( ‘tasty-recipes-tooltip’ );
if ( currentTooltipElement ) {
document.body.replaceChild( tooltipElement, currentTooltipElement );
} else {
document.body.appendChild( tooltipElement );
}

this.tooltipElement = document.getElementById( ‘tasty-recipes-tooltip’ );
},
show() {
if ( ! this.tooltipElement ) {
return;
}

const tooltipTop = this.element.getBoundingClientRect().top
+ window.scrollY
– 10 // 10px offset.
– this.tooltipElement.getBoundingClientRect().height;
const tooltipLeft = this.element.getBoundingClientRect().left
– ( this.tooltipElement.getBoundingClientRect().width / 2 )
+ ( this.element.getBoundingClientRect().width / 2 ) – 1;
const posLeft = Math.max( 10, tooltipLeft );
this.maybeRemoveTail( posLeft !== tooltipLeft );

this.tooltipElement.setAttribute( ‘style’, ‘top:’ + tooltipTop + ‘px;left:’ + posLeft + ‘px;’ );
this.tooltipElement.classList.add( ‘opened’ );

},
maybeRemoveTail( removeTail ) {
if ( removeTail ) {
this.tooltipElement.classList.add( ‘tr-hide-tail’ );
} else {
this.tooltipElement.classList.remove( ‘tr-hide-tail’ );
}
},
changeMessage( message ) {
if ( ! this.tooltipElement ) {
return;
}
this.tooltipElement.innerHTML = message;
}
};

window.TastyRecipes.ajax = {
sendPostRequest( url, data, success, failure ) {
const xhr = new XMLHttpRequest();
xhr.open( ‘POST’, url, true );
xhr.send( this.preparePostData( data ) );

xhr.onreadystatechange = () => {
if ( 4 !== xhr.readyState ) {
return;
}
if ( xhr.status === 200 ) {
success( JSON.parse( xhr.responseText ) );
return;
}

failure( xhr );
};

xhr.onerror = () => {
failure( xhr );
};
},
preparePostData( data ) {
const formData = new FormData();

for ( const key in data ) {
formData.append( key, data[key] );
}
return formData;
},
};

window.TastyRecipes.ratings = {
defaultRating: 0,
currentRatingPercentage: 100,
savingRating: false,
init( minRating ) {
this.minRating = minRating;

this.formWatchRating();
this.closeTooltipWhenClickOutside();
this.addBodyClassBasedOnSelectedRating();
this.backwardCompFormRatingPosition();
},
formWatchRating() {
const ratings = document.querySelectorAll(‘.tasty-recipes-no-ratings-buttons [data-rating]’);
if ( ratings.length {
event.preventDefault();
this.defaultRating = event.target.closest( ‘.checked’ ).dataset.rating;
this.setCheckedStar( event.target );
this.maybeSendRating( this.defaultRating, event.target );
this.setRatingInForm( this.defaultRating );
} );
}
},
closeTooltipWhenClickOutside() {
window.addEventListener( ‘click’, e => {
// Bailout (don’t remove the tooltip) when the clicked element is a rating star, or it’s the tooltip itself.
if ( e.target.closest( ‘.tasty-recipes-rating’ ) || e.target.classList.contains( ‘tasty-recipes-static-tooltip’ ) ) {
return;
}

window.TastyRecipes.staticTooltip.destroy();
} );
},
setRatingInForm( rating ) {
const ratingInput = document.querySelector( ‘#respond .tasty-recipes-rating[value=”‘ + rating + ‘”]’ );
if ( ! ratingInput ) {
return;
}
ratingInput.click();
},
addBodyClassBasedOnSelectedRating() {
const ratingInputs = document.querySelectorAll( ‘input.tasty-recipes-rating’ );
if ( ! ratingInputs ) {
return;
}
for ( const ratingInput of ratingInputs ) {
ratingInput.addEventListener( ‘click’, currentEvent => {
const selectedRating = currentEvent.target.getAttribute( ‘value’ );
this.handleBodyClassByRating( selectedRating );
this.toggleCommentTextareaRequired( selectedRating );
} );
}
},
handleBodyClassByRating( rating ) {
if ( rating < this.minRating ) {
document.body.classList.remove( 'tasty-recipes-selected-minimum-rating' );
return;
}
document.body.classList.add( 'tasty-recipes-selected-minimum-rating' );
},
toggleCommentTextareaRequired( rating ) {
const commentTextarea = document.getElementById( 'comment' );
if ( ! commentTextarea ) {
return;
}

if ( rating {
window.TastyRecipes.staticTooltip.changeMessage( response.data.message );
window.TastyRecipes.staticTooltip.show();
this.updateAverageText( response.data, recipeCardElement );
this.maybeFillCommentForm( response.data );

// Hide the tooltip after 5 seconds.
setTimeout( () => {
this.maybeResetTooltip( recipeCardElement, response.data, rating );
}, 5000 );
},
() => {
this.resetTooltip( recipeCardElement );
}
);
},
updateAverageText( data, recipeCardElement ) {
if ( ! data.average ) {
return;
}
this.setRatingPercent( data );

if ( ! data.count ) {
return;
}

const quickLink = document.querySelector( ‘.tasty-recipes-rating-link’ );
if ( quickLink ) {
this.setTextInContainer( quickLink, data );
this.setPartialStar( quickLink );
}

const cardStars = recipeCardElement.querySelector( ‘.tasty-recipes-ratings-buttons’ );
cardStars.dataset.trDefaultRating = data.average;
this.setTextInContainer( recipeCardElement.querySelector( ‘.tasty-recipes-rating’ ), data );
},
setTextInContainer( container, data ) {
if ( ! container ) {
return;
}

if ( data.label ) {
const ratingLabelElement = container.querySelector( ‘.rating-label’ );
if ( ratingLabelElement ) {
ratingLabelElement.innerHTML = data.label;
}
return;
}

const averageElement = container.querySelector( ‘.average’ );
if ( averageElement ) {
averageElement.textContent = data.average;
}

const countElement = container.querySelector( ‘.count’ );
if ( countElement ) {
countElement.textContent = data.count;
}
},
setPartialStar( container ) {
const highestStar = container.querySelector( ‘[data-rating=”‘ + Math.ceil( this.defaultRating ) + ‘”]’ );
if ( highestStar ) {
highestStar.dataset.trClip = this.currentRatingPercentage;
}
},
setRatingPercent( data ) {
this.defaultRating = data.average.toFixed( 1 );
const parts = data.average.toFixed( 2 ).toString().split( ‘.’ );
this.currentRatingPercentage = parts[1] ? parts[1] : 100;
if ( this.currentRatingPercentage === ’00’ ) {
this.currentRatingPercentage = 100;
}
},
setCheckedStar( target ) {
const cardRatingContainer = target.closest( ‘.tasty-recipes-ratings-buttons’ );
const selectedRatingElement = cardRatingContainer.querySelector( ‘[data-tr-checked]’ );
if ( selectedRatingElement ) {
delete selectedRatingElement.dataset.trChecked;
}

const thisStar = target.closest( ‘.tasty-recipes-rating’ );
thisStar.dataset.trChecked = 1;
thisStar.querySelector( ‘[data-tr-clip]’ ).dataset.trClip = 100;
},
maybeFillCommentForm( data ) {
if ( ! data.comment || ! data.comment.content ) {
return;
}

const commentForm = document.querySelector( ‘#commentform’ );
if ( ! commentForm ) {
return;
}

const commentBox = commentForm.querySelector( ‘[name=comment]’ );
if ( ! commentBox || commentBox.value ) {
return;
}

// Add comment details for editing.
commentBox.innerHTML = data.comment.content;
if ( data.comment.name ) {
commentForm.querySelector( ‘[name=author]’ ).value = data.comment.name;
commentForm.querySelector( ‘[name=email]’ ).value = data.comment.email;
}
},
maybeResetTooltip( recipeCardElement, data, rating ) {
if ( this.savingRating === rating ) {
this.resetTooltip( recipeCardElement, data );
}
},
resetTooltip( recipeCardElement, data ) {
window.TastyRecipes.staticTooltip.destroy();
this.savingRating = false;

// Reset the default rating.
const cardRatingContainer = recipeCardElement.querySelector( ‘.tasty-recipes-ratings-buttons’ );
if ( cardRatingContainer ) {
this.defaultRating = ( data && data.average ) ? data.average.toFixed(1) : cardRatingContainer.dataset.trDefaultRating;
cardRatingContainer.dataset.trDefaultRating = this.defaultRating;

this.resetSelectedStar( cardRatingContainer, data );
}
},
resetSelectedStar( cardRatingContainer ) {
const selectedRatingElement = cardRatingContainer.querySelector( ‘[data-rating=”‘ + Math.ceil( this.defaultRating ) + ‘”]’ );
if ( selectedRatingElement ) {
selectedRatingElement.querySelector( ‘[data-tr-clip]’ ).dataset.trClip = this.currentRatingPercentage;
selectedRatingElement.parentNode.dataset.trChecked = 1;
}

const previousSelectedElement= cardRatingContainer.querySelector( ‘[data-tr-checked]’ );
if ( previousSelectedElement ) {
const currentSelectedRating = previousSelectedElement.querySelector(‘[data-rating]’);
if ( currentSelectedRating !== selectedRatingElement ) {
delete previousSelectedElement.dataset.trChecked;
}
}
},
backwardCompFormRatingPosition() {
const ratingsButtons = document.querySelector( ‘#respond .tasty-recipes-ratings-buttons, #tasty-recipes-comment-rating .tasty-recipes-ratings-buttons’ );
if ( ! ratingsButtons ) {
return;
}
const ratingsButtonsStyles = window.getComputedStyle(ratingsButtons);
if ( ! ratingsButtonsStyles.display.includes( ‘flex’ ) ) {
ratingsButtons.style.direction = ‘rtl’;
}

if ( typeof tastyRecipesRating !== ‘undefined’ ) {
// Select the rating that was previously selected in admin.
ratingsButtons.querySelector( ‘.tasty-recipes-rating[value=”‘ + tastyRecipesRating + ‘”]’ ).checked = true;
}

const ratingSpans = ratingsButtons.querySelectorAll( ‘.tasty-recipes-rating’ );
for (const ratingSpan of ratingSpans) {
ratingSpan.addEventListener( ‘click’, event => {
if ( ratingSpan === event.target ) {
return;
}
ratingSpan.previousElementSibling.click();
} );
}
}
};

(function(callback) {
if (document.readyState !== “loading”) {
callback();
} else {
window.addEventListener( ‘load’, callback );
}
})(() => {
window.TastyRecipes.ratings.init( window.trCommon ? window.trCommon.minRating : 4 );
});

The post Best Crispy Skillet Ravioli with Garlic-Butter Mushrooms Recipe appeared first on FOR UR ENERGY RECIPES.

JOIN US ON TELEGRAM
Get Notifications Faster by:
Visited 1 times, 1 visit(s) today
Best Brown Butter Parmesan Pasta Recipe for Cozy Nights

Best Brown Butter Parmesan Pasta Recipe for Cozy Nights

Best Swedish Meatball Soup for Cozy Nights

Best Swedish Meatball Soup for Cozy Nights